[Support request] Padding in sticky Navigation

Home Forums Support [Support request] Padding in sticky Navigation

Home Forums Support Padding in sticky Navigation

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #959034
    Ane

    Hi,

    I have set a header and the activated the sticky navigation, but when I scroll down the padding disssapears.

    I have read some of the topics of the forum and tried to add css but it didn´t work.

    And with the option of “set navigation as header” i can´t change the padding either.

    Whats can I do?

    Thank you very much,

    #959382
    Leo
    Staff
    Customer Support

    Hi there,

    So you want the static navigation and sticky navigation to be exactly the same?

    If so this option is what you need:
    https://docs.generatepress.com/article/navigation-as-a-header/#basic

    Make sure the inner container is set to contained:
    https://docs.generatepress.com/article/navigation-layout/#inner-navigation-width

    Let me know if this helps 🙂

    #960282
    Ane

    HI,

    I don´t want the option os setting the navigation as header, I already told that.

    What i want is the sticky navigation to have a padding, because when I scroll down, the logo goes to the left and the menu to the right, leaving a lot of space in the middle.

    How can I put padding in the sticky navigation??

    #960381
    Leo
    Staff
    Customer Support

    Just trying to provide the best suggestion that’s all 🙂

    You can try this CSS:

    .main-navigation.has-sticky-branding.navigation-stick .inside-navigation {
        padding-left: 100px;
        padding-right: 100px;
    }

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

    #2400050
    Denise

    Hola Leo!

    Is it possible to adjust the “default” padding between menu items?

    I have set a small icon to be used when scrolling down.
    However, on tablet view, it goes to the left with minimal left padding and there is a lot of spacing between the menu elements so that the search button goes to the next line.

    I could adjust font size and everything gets together within a line, but I rather want to adjust the spacing.

    Thank you for your help!
    Denise

    #2400253
    David
    Staff
    Customer Support

    Hi there,

    can i see your site ?
    If you want to share the URL privately, then please raise a new topic, as the topic starter you can access the Private Information field:

    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2400341
    Denise

    Sure!
    Please take a look: https://hogarense.com/

    Thanks David!

    #2400353
    Leo
    Staff
    Customer Support

    Have you tried editing the menu item width?
    https://docs.generatepress.com/article/menu-item-height-width/

    If that doesn’t work, please open a new topic as the issue is different than the original topic posted by another user.

    Thanks!

    #2400497
    Denise

    Nope, it does nor work.
    I create a new topic.

    thanks!

    #2400501
    Leo
    Staff
    Customer Support

    Thanks!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Padding in sticky Navigation’ is closed to new replies.