Erika Borzacca
Erika Borzacca

Reputation: 3

Ionic Side Menu bar transparent

I develop an app using ionic 4 but I have some trouble. Because Side bar doesn't change the style with special size. Please help me.

I tried many times in variable.scss and component.scss, but no changes.

Ion-menu {
    transparent: 0;
}

Upvotes: 0

Views: 322

Answers (1)

Super Toptal
Super Toptal

Reputation: 587

Please check this code. This will be work correctly.

ion-menu {
  --background: transparent;
  --ion-background-color: transparent;
  --ion-color-base: transparent !important;

  left: 0px;

  ion-toolbar {
    --background: transparent;
  }

  ion-list {
    background: white;
  }

}

Upvotes: 1

Related Questions