How do I change opacity of background in css without altering the entire container -
this question has answer here:
simple may need create background website container semi-transparent. if add opacity: 0.5;
inside of #content
end having entire container, widgets , letters going ghost. should apply transparency background image? 1 answer add transparency picture inside of ps still curious.
#content .container { background:url(images/menu_bar.png) left top repeat-y !important; }
give try:
#content .container { width: 500px; height: 100px; background: url(../images/menu_bar.png) left top repeat-y rgba(0, 0, 0, 0.5) !important; }
the 'a' in rgba sets opacity of color 'rgb'. of course can set values liking though. if helps, click checkmark ;)
also, don't forget set width , height of image.
Comments
Post a Comment