- This topic has 9 replies, 3 voices, and was last updated 3 years, 5 months ago by
Leo.
-
AuthorPosts
-
July 16, 2019 at 3:23 am #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,
July 16, 2019 at 9:07 am #959382Leo
StaffCustomer SupportHi 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/#basicMake sure the inner container is set to contained:
https://docs.generatepress.com/article/navigation-layout/#inner-navigation-widthLet me know if this helps 🙂
July 17, 2019 at 8:11 am #960282Ane
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??
July 17, 2019 at 9:25 am #960381Leo
StaffCustomer SupportJust 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/
November 3, 2022 at 7:19 am #2400050Denise
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!
DeniseNovember 3, 2022 at 8:26 am #2400253David
StaffCustomer SupportHi 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
November 3, 2022 at 9:22 am #2400341Denise
Sure!
Please take a look: https://hogarense.com/Thanks David!
November 3, 2022 at 9:27 am #2400353Leo
StaffCustomer SupportHave 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!
November 3, 2022 at 11:41 am #2400497Denise
Nope, it does nor work.
I create a new topic.thanks!
November 3, 2022 at 11:43 am #2400501Leo
StaffCustomer SupportThanks!
-
AuthorPosts
- The topic ‘Padding in sticky Navigation’ is closed to new replies.