Support » Fixing WordPress » Align header banner to top

  • On I’m wanting the banner to align with the top of the page (and everything else to come up the page the same amount). I’ve read various posts/forums but being a complete novice I’m not sure what to edit *.css and/or *.php files on the twentyeleven theme?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What’s happening is above your image it’s loading in the site title/description. If you don’t want that (which I assume you don’t), then in style.css find the #branding hgroup style and make it look like this:

    #branding hgroup {
    	margin: 0;
            display: none;

    Adding a display: none; will make it not display and pull everything up to get rid of the space you’re wanting rid of.

    Brilliant! Thanks Shayne. The #branding hgroup occurs in a couple of places – I did it to both of them. I presume no harm done? Thanks again.

    Yep..should be long as you’re not wanting that info displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Align header banner to top’ is closed to new replies.