Making the content box translucend

  • Unknown's avatar

    Hi,
    I would like to have the content box on every page translucend, instead of black / white.
    Please, find one of the pages here: http://essaiibiom.wordpress.com/produits/
    Many thanks and have a great week-end

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    fabianapsimoes · Member ·

    Hey there, give this a try:

    .entry-inner {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    }

    You can adjust the translucency by changing the 0.9 value. It accepts values between 0 and 1 (zero being fully transparent and one being fully opaque).

  • Unknown's avatar

    nope, it creates a content box on the front post, but the idea is to modify the content box on the pages. Is it possible to reduce the width of the content box on the pages?
    Thanks a lot, you can take any page as example of essaiibiom.wordpress.com

  • Unknown's avatar
    fabianapsimoes · Member ·

    Oh, I see. Mind trying this instead?

    body.page .entry-inner {
        background-color: rgb(255, 255, 255);
        background-color: rgba(255, 255, 255, 0.9);
        width: 60%;
    }

    Again, you can adjust the translucency by changing the 0.9 value. It accepts values between 0 and 1 (zero being fully transparent and one being fully opaque).

    You can also adjust the value for “width” to yours needs. I’m using percentage here, but you can use other units. See “Lengths and Percentages” in http://www.htmldog.com/guides/css/beginner/selectors/.

  • Unknown's avatar

    YES, thanks a lot, I’d used and it works perfectly. Now, the width is perfect !!!
    Thanks fabianapsimoes

  • The topic ‘Making the content box translucend’ is closed to new replies.