• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Opacity problem

RobParker

Well-known member
#1
I'm using the DigitalPoint ad positioning to place an ad under the post but the Uniform skin by xenfocus makes the opacity change which is obviously a bad thing for the ad.


This is what it looks like

Screen Shot 2012-09-06 at 19.44.18.png

And on hover it changes to

Screen Shot 2012-09-06 at 19.44.24.png

I'd like the ad to have an opacity of 1 all of the time and I thought I could do it by changing this UnderPost style but it looks as if the opacities "stack" and inherit from the parent class which in this case is messagemeta.

Screen Shot 2012-09-06 at 19.46.54.png

Probably missing the obvious but any help greatly appreciated
 

RobParker

Well-known member
#2
Would this solution work, rather than having the whole of messageMeta change opacity, instead change the controls individually?

Code:
.message .messageMeta .privateControls { opacity: 0.5; -moz-transition: all ease-in-out 0.15s; }
.message .messageMeta .publicControls { opacity: 0.5; -moz-transition: all ease-in-out 0.15s; }


.message:hover .messageMeta .privateControls{ opacity: 1; }
.message:hover .messageMeta .publicControls{ opacity: 1; }