- This topic has 9 replies, 4 voices, and was last updated 4 years, 11 months ago by
Elvin.
-
AuthorPosts
-
April 1, 2021 at 3:35 am #1717613
David
Hey there,
I have another question that came up:
I would like to have a transformation to a sticky header in fullwidth (when I use sticky it will contained automatically and I do not find a way to adapt that in the customizer)AND I would like to use a merged header (transparent header) on one page.
I do not understand the concept of “navigation as header” at the moment – it looks like this is necessary for the merging to work but at the same time it destroys my header formatting (menu height, logo size, etc.).
What is a good way to accomplish both?
April 1, 2021 at 4:15 am #1717655David
StaffCustomer SupportHi there,
go to Customizer > Layout > Primary Navigation.
Temporarily change the Location to Below Header… you will then see the Width options for the Navigation, set this to Full Width.
Then change the Location back to Float right.The Sticky Nav should now be full width.
April 1, 2021 at 1:54 pm #1718417David
Hello David,
it is not working on my end… Don’t know what I don’t see there. All width are set to full but sticky remains contained…
Your support is incredible, I appreciate that a lot. Thanks.
April 1, 2021 at 4:56 pm #1718470Ying
StaffCustomer SupportHi David,
This topic has been marked as resolved so your site info has been erased.
Could you please provide your site info again?
Thanks!
April 2, 2021 at 11:07 am #1719412David
Sure, here it is.
Although it looks different now – I guess there was a caching issue or something like that too. So now it is fullwidth – but without the padding of the original navigation.
Is there any support doc that explains the logic behind it? I don’t get how the parameters of normal header – navigation – header as navigation – the options that come up with different header styles and sticky header options relate with each other.
April 2, 2021 at 12:10 pm #1719454Ying
StaffCustomer SupportYou can add this CSS to give sticky navigation the same padding as primary navigation:
#sticky-navigation { padding: 30px 40px 0px 40px; }Adding CSS: https://docs.generatepress.com/article/adding-css/
Here’s our documentation page, search header, or sticky navigation to check out the info.
https://docs.generatepress.com/Let me know 🙂
April 11, 2021 at 12:12 pm #1730207David
Amazing, thanks.
Out of interest: Why is that not set automatically? Like: What is the logic regarding padding in sticky mode?April 11, 2021 at 6:13 pm #1730365Elvin
StaffCustomer SupportSticky navigation tends to block a certain portion of the content. Some users don’t like it taking too much space so padding is not applied for it to be as compact as possible. 🙂
April 11, 2021 at 10:49 pm #1730524David
Thanks for clarifying. Best, David
April 11, 2021 at 11:17 pm #1730542Elvin
StaffCustomer SupportNo problem. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.