WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Strange White Space (6 posts)

  1. ohgalaxy
    Member
    Posted 1 year ago #

    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.

  2. Alx
    Member
    Posted 1 year ago #

    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.

  3. ohgalaxy
    Member
    Posted 1 year ago #

    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.

  4. Good Guy
    Member
    Posted 1 year ago #

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

  5. Alx
    Member
    Posted 1 year ago #

    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.

  6. ohgalaxy
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic