Home › Forums › Winning Agent Pro Theme › Nav bar is showing up underneath home welcome and does not appear like demo. › Reply To: Nav bar is showing up underneath home welcome and does not appear like demo.
I really wanted to move the nav bar into a more normal position across the front of the home page.
The reason that the nav bar sits below the welcome area seems to be the sequence in which the various parts of the page are loaded.
I did a rough and dirty fix by adding this to the front page php:
// Place Primary Nav below Header
remove_action( ‘genesis_after_header’, ‘genesis_do_nav’ );
add_action( ‘genesis_after_header’, ‘genesis_do_nav’, 2 );
What this does is it removes the native genesis command and adds the same command back and places it earlier.
I am not a coder, so I have no idea if this is good coding (I doubt it) but it works.