Archived topic
Page header
8 replies · Started by Chad Biggs on September 3, 2017
I have a div placed in the gp hooks before header. I have a menu in the page header, when I tick "place content behind header", my before header hook div is hidden behind my menu. Do you have any suggestions to show the hook div, but still nor mess with what I have going on in my page header?
-Chad
Hi Chad,
Can you link us to the site possibly? Thanks!
You could try changing the priority of the Before Header hook:
add_action( 'wp', 'tu_change_hook_priorities' );
function tu_change_hook_priorities() {
remove_action('generate_before_header', 'generate_hooks_before_header', 4);
add_action('generate_before_header', 'generate_hooks_before_header', 0);
}
Changing the priority didn't help. Could you have a look please? Here
Thank you,
-Chad
What's the content inside your hook?
There is a grid parent and 3 grid-33's, some text and 3 fontawesome icons. The whole div is only about 30px high.
Can you add the class grid-container next to your grid-parent class (with a space in between).
Yes, that was perfect Tom! Thank you.
You're welcome :)