Archived

This topic is now archived and is closed to further replies.

  • 0

How To Make The Content Container Background Slightly Transparent


Question

Posted · Report post

I am struggling to see how I get my content to have a white background colour but slightly transparent so that the default image background of the site to be visible. Do I need a special tool or is there somewhere I can alter the css in order to reduce the alpha transparency of the body content.

Share this post


Link to post
Share on other sites

1 answer to this question

Posted · Report post

Hi,

 

Try this

 

#site .content {
background: rgba(255, 255, 255, 0.6);
}

However, please bear in mind that rgba isn't compatible with all browsers and you may need to tweak it slightly to get your desired look. I recommend you start using Firebug and also bookmark W3 Schools for reference.

 

http://www.w3schools.com/css/

Share this post


Link to post
Share on other sites