[Support request] Primary menu at bottom

Home Forums Support [Support request] Primary menu at bottom

Home Forums Support Primary menu at bottom

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #550459
    Elie

    Hello Guy,

    I hope you can help with this issue.

    I want to set the menu on fullwidth home page at bottom, I try to use the page header but no success,
    I want to have the Sticky menu on and when I scroll the sticky menu appear.

    Can you help me, to set at the home the primary menu at bottom, the home page is fullwidth.

    Thanks a lot for your help.

    #550539
    Leo
    Staff
    Customer Support

    Hi there,

    Just to make sure, you are wanting the primary navigation at the bottom of the page below the copyright?

    #553140
    Elie

    Hi Leo,

    Sorry for the delay, I has a big problem with my licence and I could not anwser.

    So no I don’t want the primary navigation at the bottom of page, but at the bottom of my fullpage Header.

    #553238
    Leo
    Staff
    Customer Support

    This should help: https://generatepress.com/forums/topic/page-header-image-above-menu/#post-288568

    Make sure the navigation location is set to below header.

    #553427
    Elie

    Hi Leo,
    I try it but they don’t work.
    I want to have the navigation below the page header on my hompepage, with the code nothing happen.

    Look here : https://academy.femmedinfluence.fr/accueil/

    Thanks for help.

    #553868
    Leo
    Staff
    Customer Support

    Did you set this to below header as I suggested above?
    https://docs.generatepress.com/article/navigation-location/

    Let me know.

    #554890
    Elie

    Yes I did it, but not work.

    I have a Page Header and I want to have it above the menu, I just have the functionnality to merge it.

    #554943
    Leo
    Staff
    Customer Support

    Looks like the navigation is still set to float right?

    #555128
    Elie

    Yes I do it now then is not working, I set it to below header now

    #555298
    Leo
    Staff
    Customer Support

    How are you adding the code?

    #555368
    Elie

    I added the code in functions.php theme, here is the code I added :

    add_action( ‘after_setup_theme’,’craig_move_navigation’ );
    function craig_move_navigation() {
    if ( is_front_page () ) {
    remove_action( ‘generate_after_header’, ‘generate_add_navigation_after_header’, 5 );
    add_action( ‘generate_after_header’, ‘generate_add_navigation_after_header’, 15 );
    }
    }

    #555799
    Leo
    Staff
    Customer Support

    You are using the conditional tag is_front_page () which only applies to the home page.
    The page you’ve linked isn’t the front page.

    Also the code should not be added to function.php of the theme, try one of these methods here:
    https://docs.generatepress.com/article/adding-php/

    #556693
    Elie

    The page is now front page, you can look it, like I say when the page is home page is not work.

    I put the code already in the functions.php of my child theme. but nothing.

    #556722
    Leo
    Staff
    Customer Support

    Can you try this without the conditional tag and see if it works?

    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 );
    }
    #557396
    Elie

    Not working, if you want I can give the access to the site so tha you can try it?

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