Home › Forums › Support › Before Header vs NavMenu This topic has 8 replies, 2 voices, and was last updated 8 years, 8 months ago by Tom. Viewing 9 posts - 1 through 9 (of 9 total) Author Posts August 11, 2015 at 11:20 pm #128534 Adrian Cojocariu Any way I can show the navmenu above the header, but under the before header hook ? Doesn’t necessary have to be a hook, but I want to place a bar with phone and email that always stays there at the top. I want the navmenu above the header, and that bar above the navmenu π August 11, 2015 at 11:27 pm #128539 TomLead Developer Lead Developer Hi Adrian, Try this: add_action( 'after_setup_theme','generate_move_before_header_nav' ); function generate_move_before_header_nav() { remove_action( 'generate_before_header', 'generate_add_navigation_before_header', 5 ); add_action( 'generate_before_header', 'generate_add_navigation_before_header', 15 ); } August 12, 2015 at 12:01 am #128547 Adrian Cojocariu No effect man, nav menu still above it. I added it in functions.php and tried adding it as a separate PHP code in GP hook. August 12, 2015 at 12:08 am #128550 Adrian Cojocariu I’m using exhibit child theme if that helps ? Should I modify the generatepress theme functions.php ? August 12, 2015 at 12:18 am #128553 TomLead Developer Lead Developer Hmm, no – I would create a plugin for your functions in that case (https://generatepress.com/knowledgebase/adding-php-functions/ – #2). Is it the primary menu you’re trying to move, or the secondary menu? August 12, 2015 at 11:31 pm #128854 Adrian Cojocariu Ok so in Personalize, the navigation position is above header, and I created a new plugin for the code but the Before Header GP Hook is still under the navmenu π August 13, 2015 at 12:23 am #128864 TomLead Developer Lead Developer Are you working with the main navigation or the secondary navigation? If it’s the main navigation, the code above should definitely work. Let me know π August 13, 2015 at 1:52 am #128880 Adrian Cojocariu It’s the main nav, forgot to say. At first no nav was selected, but then I created a menu in WP and set it as Main Navigation through GP personalize π August 13, 2015 at 8:55 am #128947 TomLead Developer Lead Developer Hmm, any chance you can shoot me temporary admin login details to support@generatepress.com? Author Posts Viewing 9 posts - 1 through 9 (of 9 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In