WordPress.org

Support

Support » Themes and Templates » Attitude » How to remove all white space above header

How to remove all white space above header

Viewing 4 replies - 1 through 4 (of 4 total)
  • Add this to the style.css found under Appearance > Editor when your child-theme is active.

    This will not remove it but will hide it from view.

    .hgroup-wrap {
    display: none;
    }

    This will move your image up so there is no background space at the top of the browser window.

    #branding {
    margin-top: 0;
    }

    I am in the Attitude theme…does it work in there as well? You wrote when your child theme is active (so not now while I’m building it, correct?) Also when I am ready to go live where on the page (what line) in the style.css do I put this code.

    Sorry but I don’t like to mess with CSS too much and get a little nervous, although I back everything up by copying the code before I do everything!

    Thanks so much for your help!

    If your in the parent theme use a custom css plugin, if your in the child theme it can go in style.css through the editor. The reason we don’t edit the parent style.css is because all those changes will be gone if the theme is updated.

    Thanks, I appreciate your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove all white space above header’ is closed to new replies.
Skip to toolbar