Opacity problem

RobParker

Well-known member
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.webp

And on hover it changes to

Screen Shot 2012-09-06 at 19.44.24.webp

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.webp

Probably missing the obvious but any help greatly appreciated
 
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; }
 
Top Bottom