Reposition the Secondary Navigation Menu

< 1 min read

Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.

Here is the code needed to reposition the secondary navigation menu:

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.
 
//* Reposition the secondary navigation menu
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
add_action( 'genesis_before_header', 'genesis_do_subnav' );

What are your feelings

  • Happy
  • Normal
  • Sad