title: Change ion-item background color in Ionic 4.0
body: <p>Good day all</p>
  
  <p>I hope no one has asked this yet... I have found some similar posts like <a href="https://stackoverflow.com/questions/31772742/changing-background-color-of-ionic-ion-item-in-css">this one</a>, 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</p>
  
  <pre><code>&lt;div class='item-content'&gt;&lt;/div&gt;
  </code></pre>
  
  <p>element discussed in the linked post.</p>
  
  <p>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. </p>
  
  <p>I can see in the code inspector that it is applying my style, but it does not show up in the browser.</p>
  
  <p>Here is a sample of my code:</p>
  
  <pre><code>&lt;ion-item class="light-back"&gt;
    &lt;ion-icon name="search" color="light"&gt;&lt;/ion-icon&gt;
      &lt;ion-input required type="text" placeholder="Search for a site" color="light"&gt;
    &lt;/ion-input&gt;
  &lt;/ion-item&gt;
  
  
  .light-back{
      background-color: #fff;
  }
  </code></pre>
  
  <p>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.</p>
  
  <p><a href="https://i.stack.imgur.com/mO9EI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mO9EI.png" alt="enter image description here"></a></p>
  
  <p>Any advice would be greatly appreciated.</p>