Archived topic
Merge header and topbar
11 replies · Started by Patrick on October 2, 2020
I have created a topbar that I would like to sticky scroll just as the header does. I use the navigation as the header and it is hidden when scrolling down. I have a screenshot if needed.
Hi there,
can you share a link to the site so i can take a look?
This is a staging site. https://bebrainfit-staging.te3gsm9y-liquidwebsites.com/brain-inflammation/
Unfortunately it's not possible to create the "hide when scrolling down" option for the sticky top bar.
Would that still work for you?
I see it as a way to keep the topbar in front of users a little more. It would be nice in GP 3.0? Thanks.
If you don't mind the hide on scroll part it's do-able with CSS.
We will keep an eye out to see if there are other similar requests in the future :)
OK. One more thing: How can I exclude the topbar on specific pages?
You can disable the Top Bar using the Disable Elements module:
https://docs.generatepress.com/article/disable-elements-overview/
I couldn't open your site to see what the top bar looked like - could you fix that link?
Thanks. The topbar is on my live site now.
With topbar: https://bebrainfit.com/multitasking-brain/
Without topbar: https://bebrainfit.com/about-us/
Sorry so is the issue all solved now?
Yes, thanks.
No problem :)