Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] space between top navigation and sections

Home Forums Support space between top navigation and sections

  • This topic has 7 replies, 2 voices, and was last updated 5 years ago by dinkummate.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #153130
    dinkummate

    Hi, I’ve been looking around but nothing could really help me. My layout is set on “One Container”. Between my first section and the navigation is still a space in the body I can’t get rid of. Please check out at
    http://www.stegosblog.com/

    Before I had also space between nav and header but this is already solved by information here in the forum.

    Thank you for any help.

    #153131
    dinkummate

    I changed the background of the first section to grey so the space is visible.

    #153152
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Have you tried setting the top padding to 0px within the Section settings?

    #153156
    dinkummate

    yes the setting is 0px in the section settings. The space also appears on all other sites actually, hidden by the body color. So what I am seeing is actually a part of the body.

    #153162
    Tom
    Lead Developer
    Lead Developer

    Have you added anything into GP Hooks?

    I’m seeing this in your code below the header:

    <div class="grid-container grid-parent">
    	<div class="page-header">
    			</div>
    </div>

    That’s what is causing the space.

    #153164
    dinkummate

    Tom, you are a champion. I added Yoast breadcrumbs there. I took it out… and now… I am happy. I actually cannot remember that I did add that. Maybe it was the yoast SEO plugin. I don’t know.

    Thanks a lot!!!!

    And by the way… I love GeneratePress!

    Cheers

    Andreas

    #153168
    Tom
    Lead Developer
    Lead Developer

    Awesome, glad I could help!

    Enjoy your Sunday! 🙂

    #153175
    dinkummate

    Likewise! Thank you. Now I am enjoying a video background with no white space on top.

    Cheers, Andreas

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.