Site logo

Archived topic

Secondry Menu

5 replies · Started by Rob on July 20, 2018

Viewing posts 1–6 of 6

Hi there.

I wonder if you can help?

A client is asking for a secondry menu underneath the "slider", or in this case the page header.

Is this possible at all?

I can see various options for its position, but cant quite get it to work

Here is the link to the screenshot - https://ibb.co/hbEczJ

Hi there,

Try this PHP snippet:

add_action( 'after_setup_theme','lh_move_secondary_navigation' );
function lh_move_secondary_navigation() {
    remove_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 7 );
    add_action( 'generate_after_header', 'generate_add_secondary_navigation_after_header', 15 );
}

Adding PHP: https://docs.generatepress.com/article/adding-php/

Awesome! Thanks.

Although, it now appears twice :(

Thankyou ever so much for the quick reply :)

Awesome as usual!

No problem :)

This archived topic is closed to new replies.