I am trying to have a toolbar and also ion-items transparent with the toolbar I have managed to make it transparent but from some reason with ion item is different I am using ionic 5 and I have tried some solutions for ionic 4 and 3 but with no success
can someone please help me what am I doing wrong my html is
<ion-input (click)="chooseOrigin()" placeholder="Where do you want to pickup?" type="text"
value="{{origin ? origin.vicinity : '' }}"></ion-input>
<ion-input (click)="chooseDestination()" placeholder="Where do you want to drop?" type="text"
value="{{ destination ? destination.vicinity : '' }}"></ion-input>
</ion-item>
You need to define this code in your scss but I have managed to do it only for toolbar that is in footer now I get it kind of different when it comes to toolbar from ion-header it is annoying but the white color with background will no dissapear.
Here is the code:
Thanks! That’s the current problem I have. It’s in the header and I can’t make the white color go away. At least we can make the footer look nice!
welcome the even stranger thing is that I have one project in ionic 4 that I have made this even with the header but when I try to replicate to ionic 5 it doesn’t work
I don’t think this is a great idea, because the background of items is used subtly in many ways to facilitate the feedback of interactivity.
That being said, I would expect that if you really do insist on going down this road, you are going to have to set a bunch of the CSS variables documented here (not just --background).