Archived topic
Make the primary menu or header part of the body?
9 replies · Started by Marius on September 15, 2017
Hello,
is it possible to make the primary menu or the header part of the body? I would like to have it overlap the body part.
Example page of the menu: https://en.ryte.com/
Background of the body and of the menu is one.
Is this possible?
Hi,
If you are not using a page builder: https://docs.generatepress.com/article/merging-the-page-header-site-header/
If you are using a page builder: https://docs.generatepress.com/article/merging-header-navigation-content/
Thanks, it worked, but one problem: When I scroll, the sticky header shows but gets stuck after the first container.
In other words, the sticky header does not work on the full page when scrolling, only for the first part. How can i fix this?
Can you link us to your site possibly?
The site is password protected and not meant to be public. I am not allowed to post this site here as of now.
To describe the problem better:
The sticky header shows up normally when scrolling down, but as soon as the end of the first div is reached, the sticky header gets stuck there and does not move on when scrolling further down.
Different question: Is there a way to set the "start point" of the sticky header? Like a set height, at which the sticky header pops up?
Can you send the site through Account Issue? https://generatepress.com/contact/
Just reference this topic. Thanks!
Done, hope to get help :)
Strange issue.
Can you try disabling all plugins except GP and Elementor to test? Thanks!
EDIT: Fixed, was caused by a widget code that I implementet!
I tried that, no difference. I then created a completely new blank page with 2 containers, and the same issue occured. The sticky menu always gets stuck inside the first container / div and can only scroll to the bottom of the first container. The rest of the site is without a sticky menu.
I now am pretty sure, it has to do with the page header settings, since I have a transparent primary menu and a disabled header (using this method: https://docs.generatepress.com/article/merging-header-navigation-content/)
Could it have to do with this?
Glad you found the problem!