Problem changing body background colour of twenty-eleven theme

  • Author
  • #1174836


    Have added the following code into CSS editor to change the page/post colour from white to cream, but it doesn’t work. Have I missed some step?

    I have saved the stylesheet and triple checked my CSS, and used red and other colours, but the theme page colour stays stubbornly white!

    body {
    background-color: #F8F2E8;
    This is my first time using the CSS editor!

    The blog I need help with is



    The blog you specified at does not appear to be hosted at

    This support forum is for blogs hosted at If your question is about a self-hosted WordPress blog then you’ll find help at the forums.

    If you don’t understand the difference between and, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.


    This rule isn’t working because there’s a more specific CSS selector used by the blog which is overriding your rule:

    body {
    	background-color: #F8F2E8;

    If you make yours match the one used on the blog, it will work:

    body.custom-background {
    	background-color: #F8F2E8;

    You can view what CSS selectors are being used for a particular space by right-clicking on it in your browser and selecting the “Inspect Element” option. If you click on the body tag in the HTML that shows up, you should also see the CSS rules applied to that tag on the right. The web inspector in browser tools is really handy!

    Because your blog is not hosted here at, you should ask for help at if you have additional questions. See to learn about the differences. Good luck!

The topic ‘Problem changing body background colour of twenty-eleven theme’ is closed to new replies.