[Support request] Space between primary navigation and header element

Home Forums Support [Support request] Space between primary navigation and header element

Home Forums Support Space between primary navigation and header element

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1008600
    Yi Jone

    Hi,

    Just beginning to get to grips with GP theme and the Premium plugin. I added a header element under my top menu navigation bar. How do I create a space between these two, similar to the spacing between the bottom of the header element and the Welcome static page, please?

    Thanks,

    Yi

    #1008794
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    .page-hero {
        margin-top: 15px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps πŸ™‚

    #1960537
    Theodore

    Hi, how do I solve this without using CSS?

    #1960551
    Elvin
    Staff
    Customer Support

    Hi Theodore,

    It depends on what’s the cause of the space.

    If it’s an empty paragraph block hooked to the page then you can just remove the empty paragraph to remove the space it caused.

    But it’s caused by a default CSS by WordPress core or theme’s default stylesheet then overriding with CSS is the way to go. πŸ™‚

    #1960555
    Theodore

    Thanks for your quick response. I was able to fix this using the page hero header element feature by settling the top margin to 30px.

    #1960678
    Elvin
    Staff
    Customer Support

    Thanks for letting us know. Glad you got it sorted. πŸ˜€

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