WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Change Page Background color in 2010 (4 posts)

  1. wenu
    Member
    Posted 3 years ago #

    Must have been asked a million times, cannot find answer in Forum.
    How do I change the Posting page background color in 2010?
    Changing the Backround of 2010 Theme is listed and simple.
    I assume the script is a #FFFFFF number in Style.css or some such File.
    Working out (getting at Color Experiment) the # color code is easy - but what file in the Theme Folder?
    How do I change the page background color in 2010?
    Code example cut-and-past please?

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    there is no direct background color definition for the 'Posting page';

    the white background is more generally defined in style.css for #wrapper:

    #wrapper {
    	background: #fff;
    	margin-top: 20px;
    	padding: 0 20px;
    }

    you can try and change the color code there, and see if the result is what you wanted.

    the more individual post area has this css class:

    .hentry {
    	margin: 0 0 48px 0;
    }

    you could try to add a background color to this; like the following:

    .hentry {
    	margin: 0 0 48px 0;
    background: #fff;
    }

    color codes, for instance:
    http://en.wikipedia.org/wiki/Web_colors

  3. wenu
    Member
    Posted 3 years ago #

    Ahh Thanks!

    A problem is that, in the illustration for 2010 Theme, they have the Post background in Blue! So I wondered.
    I haven't been to that Wiki/Web_colors yet but I notice you used only 3 characters indicating code [ #fff; ]
    I noticed in Style.css last night, some were 3 and some were 4 digit.
    I'll look for an explanation at the Link.
    Many Thanks for the promt reply.

  4. wenu
    Member
    Posted 3 years ago #

    grr I swapped the status to Resolved without posting my thanks
    Your advice worked perfectly.
    I will speriment a bit with color codes, including non-css 4 digit.
    Cos!
    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic