Archived topic
Menu position
3 replies · Started by Deon on October 13, 2015
Hi, first of all, great theme, keep up the good work.
I want to find out, I am using the page header plugin to display a different page header for each page on my site. I want the menu to appear below these headers. The page header position is set to above content option is set to above content area, and the menu position is set to below page header. however, the menu shows up at the top of the page. The site url is http://www.wegotyourbacks.co.za
Hi Deon. Give this a try:
add_action('after_setup_theme','generate_change_nav_position');
function generate_change_nav_position()
{
remove_action( 'generate_after_header', 'generate_add_navigation_after_header', 5 );
add_action( 'generate_after_header', 'generate_add_navigation_after_header', 29 );
}
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Thanks, this works perfectly. You can mark as resolved.
You're welcome :)
