- This topic has 3 replies, 3 voices, and was last updated 6 years, 3 months ago by .
- The forum ‘Design Tips and Tricks’ 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.
I'm using the Altitude theme and love it. Great design, at
I've added the code
//* Reposition the secondary navigation menu
remove_action( 'genesis_before_header', 'genesis_do_subnav' );
add_action( 'genesis_after_header', 'genesis_do_subnav' );
with no luck.
The Altitude Pro functions.php file has this code at line 59:
//* Reposition the secondary navigation menu remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_header', 'genesis_do_subnav', 5 );
All you have to do is comment out this code and the secondary nav will default to the after header area.
If you still want to use your code, make sure it comes after the above. I've rewritten your code:
//* Reposition the secondary navigation menu remove_action( ‘genesis_header’, ‘genesis_do_subnav’ ); add_action( ‘genesis_after_header’, ‘genesis_do_subnav’);
Commenting-out line 59 didn't do anything for me, either.
© 2022 WPEngine, Inc.