WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do i change the background color? (11 posts)

  1. povevolving
    Member
    Posted 5 years ago #

    Im using the K2 theme.

    I want to change the background color of my entire site but want the main content area of the blog and content of custom pages to stay white...

    thank you in advance.

    - JM

  2. whooami
    Member
    Posted 5 years ago #

    you need to provide a url to your blog for anyone to assist you.

  3. povevolving
    Member
    Posted 5 years ago #

    hellocomrades.com/info

  4. whooami
    Member
    Posted 5 years ago #

    that theme is not set up to do what you describe. not the way it currently looks and not without a fair amount of changes.

  5. povevolving
    Member
    Posted 5 years ago #

    im willing to make whatever changes are necessary... can you provide me with some idea of what would need to be done??

  6. If you look at the style sheet, you will see the following:

    body {
    font-size: 62.5%; /* Resets 1em to 10px */
    color: #444;
    background: #ffffff;
    text-align: left;
    }

    body.lang-ar,
    body.lang-fa,
    body.lang-he,
    body.lang-hi,
    body.lang-km,
    body.lang-ko,
    body.lang-ja,
    body.lang-th,
    body.lang-zh {
    font-size: 75%; /* Resets 1em to 12px */
    }

    #page {
    background: white;
    text-align: left;
    margin: 0 auto;
    padding-top: 20px;
    position: relative;
    border: none;
    border-top: none;
    clear: both;
    }
    Where is says background :white just change this to whatever colour you like and see what happens.

  7. povevolving
    Member
    Posted 5 years ago #

    Yes, thank you. I tried that previously but it changes the color of the content area as well as the background color... what i need is a way to isolate the color change to only the background and not have it change the content area...

    anyone?

    much appreciated.

    - JM

  8. whooami
    Member
    Posted 5 years ago #

    yes, and thats exactly what I alluded to above. that theme is NOT set up to do what you want. change the background color in .content (look in style.css) to green, and see what happens, for instance.

  9. povevolving
    Member
    Posted 5 years ago #

    i understand.
    what about having a custom image in either the background or the content area instead... ???

    would that work??

  10. povevolving
    Member
    Posted 5 years ago #

    consider this resolved.
    i figured out how to add a 1px border to the #primary content area...

    thx.

    jm

  11. cj1961
    Member
    Posted 4 years ago #

    (Grinning from ear to ear)
    Geez guys don't give up yet! I don't want you gurus to deem this issue resolved just because "Povevolving" came up with a work-about solution that suit him. Nothing personal "Pov". I like this theme a lot too but I want a different color other than "white" still and besides...I wouldn't know how to create that border around the content like "Povevolving" did even if I did think I'd like the result.
    It's been 9 months since this question was first posted, maybe one of you new experts could offer some advice besides telling me where to stick this comment.
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic