Search code examples
cssionic2

How to remove an elevation of the ion-toolbar?


In the following code, I want to remove the ion-toolbar. Look at this:

Code

<ion-header>
  <ion-toolbar >
    <button ion-button menuToggle>
      <ion-icon name="menu"></ion-icon>
    </button>
    <ion-title></ion-title>
  </ion-toolbar>
</ion-header>

Image

enter image description here

How to remove an elevation of the ion-toolbar?


Solution

  • I solved the problem with this response from SOpt:

    <Ion-header no-border>
    ...
    <Ion-header>
    

    More details in documentations.