Archived topic
Logo and description
1 reply · Started by Kathy on November 30, 2016
Hi Tom
Wondering how to put both "site description or slug" and the "logo" in the header at the same vertical level. Description at the right and logo image in the center on same row?
I also wonder how to create a new block between the header and the primary navigation field. I want to put some icons such as social media and also other links at one row above the primary navigation. I tried with secondary navigation but the position and also layout does not fullfil what I wish to create.
Thanks in advance
Hi Kathy,
This should help: https://generatepress.com/forums/topic/logo-next-to-site-title/#post-118692
As for your second question, you could use GP Hooks. However, you would need to make the "After Header" hook show up before the primary navigation with this PHP:
add_action( 'after_setup_theme','tu_change_hook_priority' );
function tu_change_hook_priority()
{
remove_action('generate_after_header', 'generate_hooks_after_header', 10);
add_action('generate_after_header', 'generate_hooks_after_header', 2);
}
Hope this helps :)