WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do you reduce or remove background (3 posts)

  1. montygothic
    Member
    Posted 3 years ago #

    Hi,

    I have posted this with a different title last week sometime but didn't get a reply. I hope this title is more helpful.

    The theme is 2010

    I have changed appearance> background> colour to white.

    Now, with 2010 theme and many other themes, the content area is also white.

    So with both the content area and background white, it doesn't help that my header is also largely white. Now it looks like there's a ton of white space.

    How can I move the header & content area closer to the top?

    In my screen shot provided below, I have highlighted the problem, any solutions are greatly appreciated.

    Site: http://bit.ly/9ri2Kt+

  2. Mark / t31os
    Moderator
    Posted 3 years ago #

    I don't see any screenshot... but your spacing is simply due to padding applied to various elements, and a couple of empty elements above the header.

    If you don't know CSS, then for the sake of providing a quick fix plonk the following code into the bottom of your theme's stylesheet (style.css)..

    #header { padding-top:0!important; }
    #content { padding-top: 1em!important; }
    #site-title, #site-description { display:none!important }

    If you understand CSS, then you simply update the above IDs to reflect the changes above, and work from there..

    Hope that helps..

  3. montygothic
    Member
    Posted 3 years ago #

    Hi @Mark / t31os

    Thanks for showing me how, I use safari's inspect elements so went in and updated the ID's.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags