- This topic has 3 replies, 2 voices, and was last updated 7 years, 1 month ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Using Altitude Pro. I've registered the header-right widget so I can display a phone number over there. I'd like the primary navigation menu to appear below the header. I'm unsure how to do this. Can anyone help?
I wonder if I need to change this somehow:
//* Reposition the primary navigation menu remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_header', 'genesis_do_nav', 12 );
By default the primary navigation menu is below the header. It looks like you've added the code above to your functions file which has moved your menu into your header. You can't see it since it's white text on a white background, but that's where it's at.
If you want to move it below the header just remove that code from your functions file. If you want it where it is now, just change the color property in your style.css file.
Hi, Brad. Thank you for the response and recommendation. I didn't add that code. Altitude came with it. I did try removing the code, but it didn't make a difference.
I placed my menu in the secondary position and changed the 5 in the below code to a 13 and that did the trick. I don't know if this is the correct way to do, but it got the job done.
//* Reposition the secondary navigation menu remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_header', 'genesis_do_subnav', 13 );
© 2022 WPEngine, Inc.