• Resolved garybeck

    (@garybeck)


    there’s a bunch of white space at the top of my site. I spent the last 2 hours trying to get rid of it.

    I have a header image that I moved to the top (above the nav bar instead of below it. I would like this header image to be at the very top of the page– with no white space or top padding or whatever is creating the space there.

    I’ve tried to adjust several things the stylesheet (margins, padding, …) but nothing can make that space go away.

    please help! here’s the site

    http://richmondclimateaction.net

    AS A SUGGESTION TO DEVELOPERS… it would be great if this setting was easier to find and change.

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    <hgroup>
    <h1 class=”site-title”></h1>
    <h2 class=”site-description”></h2>
    </hgroup>

    Remove following code from your header OR put display:none css for it.

    Thanks,

    Thread Starter garybeck

    (@garybeck)

    thanks that worked! there was some more code you didn’t list between the hgroup tags but I just commented it all out and the space went away. thanks so much.

    That should only be done in a child theme, otherwise the change will be lost when WP is updated.

    The correct CSS should be able to remove any spaces like that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to reduce white space at top of page?’ is closed to new replies.