WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How do i change the background color?

[Resolved] How do i change the background color?

  • 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

Viewing 10 replies - 1 through 10 (of 10 total)
  • whooami

    @whooami

    Member

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

    hellocomrades.com/info

    whooami

    @whooami

    Member

    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.

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

    Christine Rondeau

    @crondeau

    Volunteer Forum Moderator

    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.

    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

    whooami

    @whooami

    Member

    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.

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

    would that work??

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

    thx.

    jm

    (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

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] How do i change the background color?’ is closed to new replies.
Skip to toolbar