[resolved] Grey background in twenty eleven. (7 posts)

  1. helloha
    Posted 3 years ago #

    I searched and didn't find the answer to help me, therefore this post:

    I'm not using a child theme because I'm making a lot of edits to the way wordpress is behaving. I'm trying to get rid of the grey background but I cannot seem to find a way to do it.

    Here's a link: LINK
    I'm talking about the grey background outside the white page with black border containing the menu and page content.

    Can anyone tell me where in the style.css this handle is located? Or is it somewhere else?

    Right now I have this for the main body and #page:

    body {
    	background-color: #fff;
    #page {
    	margin: auto;
    	width: 1200px;
    	border: 1px solid #000;

    However, changing the Body background color doesn't seem to have any effect.


  2. Michael
    Forum Moderator
    Posted 3 years ago #

    dashboard - appearance - background

    however, it looks white already - try clearing the browser cache.

    when consciously working without child theme, be aware to keep backup copies of your theme and do not upgrade the theme during your next upgrade of your WordPress version.

  3. helloha
    Posted 3 years ago #

    that's strange...

    I work on multiple mac's and cross browser. But no windows.

    Is your screen less wide then 1200px?

    The background of #page is white which is 1200px wide. But right to that (over 1200px) it's grey.

  4. Dave
    Posted 3 years ago #

    You have:

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

    ...in the HEAD, which means either you have a background color in Appearance > Background >> Display Options > Background Color or a plugin which is causing this.
    If you can't find the source, use this in the css:

    body.custom-background {
        background-color: #fff !important;

    It is best to create a Child Theme for any alterations, though.

  5. Michael
    Forum Moderator
    Posted 3 years ago #

    yes - my screen is narrower that 1200px;

    more important, have you checked and adjusted the settings: dashboard - appearance - background ?

  6. helloha
    Posted 3 years ago #

    Hi, yes apparently that's what it was...


  7. helloha
    Posted 3 years ago #


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.