Home › Forums › Winning Agent Pro Theme › Nav bar is showing up underneath home welcome and does not appear like demo.
Tagged: primary navigation location
- This topic has 1 reply, 2 voices, and was last updated 9 years, 4 months ago by
Wayne Baumgarten.
- AuthorPosts
- March 6, 2014 at 3:17 pm #2552
Winning Agent Staff
KeymasterThe demo doesn’t actually use the Primary Navigation spot – it’s a Custom Menu widget in the Header Right Widget area. Here are some setup instructions with additional info.
- July 11, 2014 at 1:43 pm #3287
Wayne Baumgarten
ParticipantI 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.
- AuthorPosts
- You must be logged in to reply to this topic.