Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   apply the opacity property to a New widget area background-image (http://forum.bytesforall.com/showthread.php?t=10634)

bigliettaio Oct 24, 2010 07:30 PM

apply the opacity property to a New widget area background-image
 
I add 4 new widget area to the centre column of my Front Page and i set a background image
adding next row :
HTML Code:

table#fp_posts_widget_area{background-image:url('wp-content/uploads/2010/01/302181.jpg');
}

to ATO>>Add HTML/CSS Insert

Now i would like to reduce the opacity to that image
BUT
How i can adding opacity property to backgorund image mentioned

style=opacity:0.4;filter:alpha(opacity=40)

PS
$As soon as possible i charged my paypal account so i could improve my donations$

juggledad Oct 25, 2010 05:48 AM

you can use this
HTML Code:

table#fp_posts_widget_area {
background-image:url('http://www.elprincipe.it/wp-content/uploads/2010/01/302181.jpg');
        filter: alpha(opacity=30);
        -moz-opacity:.30;
        opacity:.30;
}

BUT...opacity is an interesting thing, it effects all layers in the container you apply it to.

So since you have (this is simplified to make the explanation easier)

TABLE (has background image)
ROW
COLUMN1 (has text)
COLUMN2 (has text)
COLUMN3 (has text)
COLUMN4 (has text)

If you add the opacity to the TABLE, the text in each of the columns is effected since they are elements of TABLE. Other than making the image it self lighter, there is no way I know of to fade the image on the TABLE and leave the TEXT with out opacity

bigliettaio Oct 25, 2010 06:50 AM

Hi JD and thanks
I also tryied in this way and i notice that opacity were applied to whole table contents .

If i found the solution i sent you an advice.

NB
no way to solve this other problem?


All times are GMT -6. The time now is 11:29 PM.

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