Ready to get started?Download WordPress


How to remove all white space above header (5 posts)

  1. Trishmc355
    Posted 7 months ago #

    I want to remove the white space above the header so that my header is at the top of the page. (no search box/no site name) Any suggestions? The child theme suggestions don't work.

  2. batharoy
    Posted 7 months ago #

    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;
  3. Trishmc355
    Posted 7 months ago #

    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!

  4. batharoy
    Posted 7 months ago #

    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.

  5. Trishmc355
    Posted 7 months ago #

    Thanks, I appreciate your help.


You must log in to post.

About this Theme

About this Topic