WordPress.org

Forums

Align header banner to top (4 posts)

  1. jcyoga18
    Member
    Posted 3 years ago #

    On thruxton.yogaha.com 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?

  2. Shayne Sanderson
    Member
    Posted 3 years ago #

    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.

  3. jcyoga18
    Member
    Posted 3 years ago #

    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.

  4. Shayne Sanderson
    Member
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.