Cyber Week Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[Resolved] Menu position

Home Forums Support Menu position

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #143889
    Deon

    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

    #143974
    bdbrown

    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/

    #144243
    Deon

    Thanks, this works perfectly. You can mark as resolved.

    #144275
    bdbrown

    You’re welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.