WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Add white background to my posts/pages Twenty Ten (4 posts)

  1. Karin
    Member
    Posted 2 years ago #

    Hey!

    I'm working on a site and want the posts/pages and side widgets all to be in separate boxes (with white background) with the page background appearing between the boxes.

    This is my page http://www.vendela-valentin.com/guiltyones/
    I want this effect: http://johndimick.com/ (everything is in black boxes)

    I'm using Twenty Ten and have created a child theme..

    Thanks in advance!

  2. KrashKartMedia
    Member
    Posted 2 years ago #

    its all css code, you need to find out in the actual page, what div class or id the loop is being used in. then you can give it a background color of #333 or etc...

  3. KrashKartMedia
    Member
    Posted 2 years ago #

    .hentry {
    margin: 0 0 48px 0;
    background: url("www.vendela-valentin.com/guiltyones/wp-content/uploads/2012/05/Guilty-Ones-web-sketch-3-737x1024.jpg") repeat scroll 0 0 transparent;
    background-color: black;
    }

    this will turn the whole div the post lives in black.

  4. Karin
    Member
    Posted 2 years ago #

    Thank you! It worked!

Topic Closed

This topic has been closed to new replies.

About this Topic