Home › Forums › Support › secondary menu at the bottom of the page › Reply To: secondary menu at the bottom of the page
January 26, 2016 at 8:44 am
#168139
Tony
Pulling the bits together:
First You need to have secondary nav set to show up before the header
Does this code go in the functions.php file?
add_action('after_setup_theme','generate_navigation_below_footer_widgets');
function generate_navigation_below_footer_widgets()
{
remove_action( 'generate_before_header', 'generate_add_secondary_navigation_before_header', 7 );
add_action( 'generate_after_footer_widgets', 'generate_add_secondary_navigation_before_header', 7 );
}
Then add this in simple css so any dropdown menus go up.
.secondary-navigation ul ul {
top: auto;
bottom: 40px; /* height of your secondary navigation */
}
- This reply was modified 7 years, 10 months ago by Tom.