Page 1 of 1

Image Transparency is setting Absolutel Div transparent too

Posted: Fri Oct 16, 2015 9:59 am
by simonmlewis
I have floating DIVs, with product images inside.
Within the DIV, is an absolute DIV, for things like price discounts, "back in stock" and so on.

If the item is out of stock, I want to set the image to be transparent. Easy.
But when I do this, the absolute DIV is going transparent as well.

I'm using opacity: 0.6;.

Re: Image Transparency is setting Absolutel Div transparent

Posted: Fri Oct 16, 2015 10:34 am
by simonmlewis
Ahh I figured it out - the DIV was going over the top of the image, so the absolute DIVs were ending up behind the image.

Changing the z-indexes... and it's sorted.