• I have somehow lost the white “Page” background in my twenty-eleven blog. The entire blog background is grey. I have made some .css edits… added, tried and some taken away, but it was done through the css editor, not editing the theme’s .css file.

    I have activated the twenty-ten theme, then re-activated the twenty-eleven. I have re-installed twenty-eleven theme but I can’t get the white to return.

    I have tried adding this to the css editor..
    #body {
    background: #hexdex color
    }
    …changing #hexdex to blue, red but nothing shows.

    Related???… I did remove the footer block that said “Proudly powered by WP”

    Thanks for your help!!
    https://www.gordonmcb.com/wp

Viewing 7 replies - 1 through 7 (of 7 total)
  • Looks like some code got messed up in the footer.php file — likely when you deleted the code in there — see these errors:

    https://validator.w3.org/check?uri=http%3A%2F%2Fwww.gordonmcb.com%2Fwp%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    But a bigger problem is that you are not using a child theme — so all your changes will get deleted when you update WP. But more critical is that you really need a clean copy of the default theme to use for various troubleshooting purposes.

    Oh, and #body does not work because body is a tag not an id — so just use

    body {
    styles...
    }

    Thread Starter gordonmcb

    (@gordonmcb)

    Thank you very much. I’ll start with a clean copy of the code. I must be mistaken when I assumed that the new “Custom css” function inside Jetpack, in essence, created a child theme.

    After cleaning things up, I’ll create a child theme and work within it.

    I thank you very much for your help and advice.

    Custom CSS keeps CSS changes “safe” but not anything else. And Child Themes really are the way to go… Get it set up and then ask again if you are still having difficulty with anything :).

    Thread Starter gordonmcb

    (@gordonmcb)

    Looks much better now, thank you!

    Through the Dashboard, I activated Twenty-Ten, then deleted Twenty-Eleven. I ran the Validator again (thanks for showing me that tool!) and fixed the one css syntax error that I knew how.

    I checked on the server to make sure the 20-11 folder was gone, then re-installed Twenty-Eleven. I’m back in business with a white page background. The new installation found my Custom CSS file – giving the page a corner radius – but I will set that up in a Child Theme to be safe.

    Thank you!!

    This does not seem to affect things but the Validator is giving me errors on this……View all posts in Uncategorized” X rel=”category tag”>Uncategorized </span>… (where the “X” is the red, close-tag error indicator.) Should I leave well-enough alone?? Or seek to fix it?

    Yeah, the validator is a great tool. If you don’t already know about it, Firebug (add-on for Firefox) is a really excellent tool also — especially for working with CSS.

    So far as I know, those errors should not be a problem, so I would not worry about them at this point. Looks like you are on the right path now…and your site is quite nice too.

    Thread Starter gordonmcb

    (@gordonmcb)

    I’ll get Firebug as I use FF exclusively, though I do check the site’s look in Chrome, Opera and that other one.

    This is the first time I’ve asked for help and I appreciate how well and how quickly you solved my problem!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Lost white Page background Twenty-eleven’ is closed to new replies.