Support » Themes and Templates » Strange White Space

  • Resolved ohgalaxy

    (@ohgalaxy)


    I made a child theme for Twenty Eleven. When it was hosted at my friend’s website (http://groundzero.shadowedbeauty.com/) it looked normal. She zipped the file for me and emailed it to me, and I uploaded it to my website (http://star-stuff.net).

    Not it has a strange white space between the header image and the navigation bar. I was hoping someone could tell me how to fix it. Thank you.

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

    You can make an easy edit to the style.css file in your child theme.

    Change this:

    #branding img {
        height: auto;
        margin-bottom: -7px;
        width: 100%;
    }

    to this:

    #branding img {
        height: auto;
        margin-bottom: -10px;
        width: 100%;
    }

    That should do it for you.

    I added this:

    #branding img {
    height: auto;
    margin-bottom: -13px;
    width: 100%;}

    to my child theme’s CSS file and it didn’t solve the white space problem. Did I do something wrong or do you have another suggestion? Thank you for your help. I don’t know why I am having this white space where there was no white space before.

    Good Guy

    (@mytaxsitecouk)

    There is no strange white space between the header image and the navigation bar in Mozilla Firefox. What browser are you using?

    It does look to me like you’ve fixed it as well. You can try clearing your browser’s cache and taking a look at the site again.

    Thank you, clearing the cache kicked my coding in the bum. I appreciate your help, wonderful folks of WordPress.org. I hope you all have an amazing evening.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Strange White Space’ is closed to new replies.