Good day all
I hope no one has asked this yet... I have found some similar posts like this one, but it does not to work for Ionic 4.0. What they suggest here does not seem to work for me, as Ionic 4.0 does not seem to inject the same
<div class='item-content'></div>
element discussed in the linked post.
I am struggling to change the background color of an Ionic 4.0 ion-item element. I am trying to give it a white background whilst the app has a blue background.
I can see in the code inspector that it is applying my style, but it does not show up in the browser.
Here is a sample of my code:
<ion-item class="light-back">
<ion-icon name="search" color="light"></ion-icon>
<ion-input required type="text" placeholder="Search for a site" color="light">
</ion-input>
</ion-item>
.light-back{
background-color: #fff;
}
Below is a screenshot of what I am looking at, which shows that the element (the search bar) is receiving the style, but not implementing or showing it.
Any advice would be greatly appreciated.

