WordPress.org

Forums

Changing Main Content Background Color (5 posts)

  1. boboman13
    Member
    Posted 2 years ago #

    Hello,
    Currently, I have been using the Responsive theme with my wordpress, and I have already set a background color, which is a light gray. However, I would like my posts to be white, just like the widgets that are white in contrast. How would I do this?
    Here is how it would look:
    B ------ B
    | C---C B
    | | P | B
    | C---C B
    B ------ B

    So I have already set the B background, and the main part is the C area. However, the C area is a light gray, but I would like the P (post) to be a white. Anyone help please?

    Here is my site so far:

  2. gabrielcastillo
    Member
    Posted 2 years ago #

    Wha is the link to your site?

  3. boboman13
    Member
    Posted 2 years ago #

    newsite.bobotropolis.com . It didn't appear in the first post for some reason... I think I used the link part wrong.

  4. gabrielcastillo
    Member
    Posted 2 years ago #

    Try this in your css file.

    .post {
        background:#ffffff;
        padding:10px;
    }

    You may want to test out multiple post's. You might need to adjust the template html.

  5. gabrielcastillo
    Member
    Posted 2 years ago #

    If you want to display this on the home page only you could also do this.

    .home .post {
        background:#ffffff;
        padding:10px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic