- This topic has 1 reply, 2 voices, and was last updated 6 years, 4 months 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.
I'm working on updating a client's site that has the Enterprise theme version 1.0.1 (current is 2.1.1), updating and applying their custom styling to the new site. The old version of the site had the Secondary Navigation just below the main menu, whereas the new version has it at the footer. I did find a method to move the Secondary Navigation to the very top, but not a way to get it to its old position. Is this configuration still possible with this theme?http://www.dentalcaretucson.com/
In the theme's function.php file, you'll find the following around line 65;
//* Reposition the secondary navigation menu remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_footer', 'genesis_do_subnav', 7 );
Comment these lined out. If that doesn't work, use:
remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_after_header', 'genesis_do_subnav', 15 );
In the second snippet, you're raising the priority so the secondary menu loads after the primary.
© 2022 WPEngine, Inc.