Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   [SOLVED] Can I add color to Opacity value? (http://forum.bytesforall.com/showthread.php?t=16431)

dutchess Jan 6, 2012 10:53 AM

[SOLVED] Can I add color to Opacity value?
 
I have a box that includes text and images that I am applying opacity to when I hover over it. Here is the CSS that i used:

.box-main:hover{
opacity:0.7;
filter:alpha(opacity=70); /* For IE8 and earlier */
}

Is there any way to make the box have a blue tint with the opacity command? I would like the box to have a blue highlight when the mouse hovers over it.

I tried adding color to the css, but it just changed the text color, but did not affect opacity/transparency...

Any help would be greatly appreciated!

lmilesw Jan 6, 2012 12:12 PM

try background-color

dutchess Jan 6, 2012 03:52 PM

That worked perfectly! Thank!


All times are GMT -6. The time now is 08:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.