Archived topic
Updated Version of Split Header in Three Sections
3 replies · Started by Mary Pearson on November 29, 2021
Is there an updated version of how to split a header into three sections? I'd like the first section to be blank, the middle section for the logo, and the third section for a call to action button.
The instructions on the website suggest setting a new hook to "header" and checking the "Disable Site Header" checkbox. I seem to remember this from before but my version no longer has these options.
Website is https://3.bestwebsites.ca/
GeneratePressVersion: 3.1.0
GP Premium Version 2.1.1
Thank you.
Hi Mary,
Were you pertaining to this?
https://docs.generatepress.com/article/split-header-three-sections/
If yes, there really isn't an update for this as it isn't necessary because this is just 1 way of achieving a split header.
There are multiple ways of achieving the same result.
This one is just one method.
Another would be to create a Block Element - Page Hero and split the contents into 3 columns on a Grid block.
Another one would be to register multiple widget areas on a hook inside the site's header.
Or if it's just the menu, you can split the menu into 2 locations like what's suggested here -
https://generatepress.com/forums/topic/split-menus-into-two-separate-lists/#post-1519913 - where the left side has the main menu, the right side only has a menu with only the call to action button, custom styled with CSS.
The instructions on the website suggest setting a new hook to “header” and checking the “Disable Site Header” checkbox. I seem to remember this from before but my version no longer has these options.
On your case specifically, here's the expected setting on a Hook Element.
https://share.getcloudapp.com/geupQPEA
The disable header checkbox will only appear once you've selected generate_header. Is it not showing up when you selected it?
Thank you Elvin. Once again you have given me exactly the information I needed. Many, many thanks!
No problem. Glad to be of any help. :D