WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Transparent content background? (3 posts)

  1. Fregatt
    Member
    Posted 3 years ago #

    Hi!

    I'm trying to make the content background transparent. I do get it transparent, but all the content get transparent aswell, and I definitely don't want that to happend!

    I there a way give only the box where the content goes a transparent background, without making the box itself 8and everything inside it, like pictures etc.) transparent?

    I hope you get my problem. I desperately need help, so I would really appreciate some help from you guys!

    Thanks a lot!

  2. Fregatt
    Member
    Posted 3 years ago #

    My (nonfunctional) code in the style.css file look like this right now:

    /* Blog Contents */
    
    #box{
    background-image:url('table-bg.jpg');repeat;opacity:0.8;filter:alpha(opacity=80);
    width:800px;
    margin:0 auto;
    }

    [please mark code by using backticks or the 'code' button]

  3. jeezyo
    Member
    Posted 3 years ago #

    just figure out what the div surrounding the content is, say its #content, and add to your css:

    #content { background-color: transparent; }

Topic Closed

This topic has been closed to new replies.

About this Topic