Archived topic
Padding in sticky Navigation
9 replies · Started by Ane on July 16, 2019
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,
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 :)
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??
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/
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
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
Sure!
Please take a look: https://hogarense.com/
Thanks David!
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!
Nope, it does nor work.
I create a new topic.
thanks!
Thanks!