Setting background color to transparent on ion-content not working


#1

HI there,

I’m using backstretch.js with jquery.js to stretch an image to fit the area covered by the ion-content area. Inside that I have a ion-list that is covering the image. I can see the image when I scroll the list up and down so I know its being set, but I need the list to be transparent and setting the background-color in css is not working. Any help would be appreciated. Thanks a lot.

Yulric


#2

A example of the situation can be seen in the following codepen http://codepen.io/anon/pen/vBtEa. Try moving the list down and the background image can be seen,


#3

It’s easy bro.

  1. Create custom class and define background color as red .
  2. Now add custom class to your ion-content tag eg.

DONE