How to remove toolbar border in Ionic 5?

My solution worked fine in Ionic 4 but now it is no longer working.

I have tried all of the following:

  --color: var(--ion-color-primary-contrast);
  --background: transparent;
  --ion-color-base: transparent !important;
  --border-style: none!important;
  --padding-bottom: 0;
  --border-color: transparent !important;
  border: 0px !important;
  border-bottom-color: transparent !important;
  background-image: none !important;
  border-bottom: none !important;



ion-header::after {
  display: none;
1 Like

Word from the top!
Works a treat, thanks.

1 Like