Site logo

[Resolved] Gap between Primary Navigation Menu and Content on home page

Home Forums Support [Resolved] Gap between Primary Navigation Menu and Content on home page

Home Forums Support Gap between Primary Navigation Menu and Content on home page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2601637
    Tim

    Hi,

    I’m trying to freshen up my homepage, but I have a stubborn white gap between my primary navigation menu and the beginning of the hero image. There’s no top padding on the image’s container on the page and no settings in Customizer that look like it’ll fix the issue. Can you assist please?

    Thanks,

    Tim

    #2601877
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .home #main,
    .home #main .inside-article {
        padding-top: 0;
        margin-top: 0;
    }

    As a general rule if you’re building a static page with a full width layout, then setting the Content Container to Full Width:

    https://docs.generatepress.com/article/content-container/

    This gives you a blank 100% wide canvas with no theme padding or margins.
    You can then build the page with GenerateBlocks and set your own padding and container widths.]

    #2602598
    Tim

    You rock. Thank you!

    #2603787
    David
    Staff
    Customer Support

    You’re welcome

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