[Support request] Menu placement

Home Forums Support [Support request] Menu placement

Home Forums Support Menu placement

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #399698
    Nina

    I have set up page headers and can’t get my menu to sit under the headers, can anyone help please?
    Link below to site
    http://esam.org.uk/home

    #399716
    Leo
    Staff
    Customer Support

    Hi there,

    Are you wanting that page header on every page or just that page?

    #399763
    Nina

    potentially 2 or 3 different headings throughout the site

    #400022
    Leo
    Staff
    Customer Support

    Then we need to move the navigation below page header using this snippet:

    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://docs.generatepress.com/article/adding-php/

    #400043
    Nina

    worked a treat – thanks you x

    #400201
    Leo
    Staff
    Customer Support

    No problem!

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