Archived topic
Merge Hook Element to Navigation
5 replies · Started by Angus on April 9, 2021
Hi, I've created a Hook Element and would like to use it as a page hero header. Is there a way to merge the navigation with a hook element? Thanks
Hi Angus,
I believe this is what you are after:
https://docs.generatepress.com/article/transparent-header-and-navigation/
Let me know if this helps :)
Hi Leo,
Yeah that's for a header element. I'm using a hook element so I can build the page hero using GenerateBlocks. I would rather use a header element, but I can't seem to get the content within the page hero header element to look as good as when using GB. If that makes sense?
Are you referring to this section on the home page?
https://www.screencast.com/t/emYdLUWb7MDX
If so, the best method would be to actually add that section as the first section in your content, then create a merged header element without any content as the article instructed.
Let me know if this makes sense.
Perfect! Thanks Leo
🙏
No problem :)