[Support request] Menu in Footer Questions

Home Forums Support [Support request] Menu in Footer Questions

Home Forums Support Menu in Footer Questions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1619556
    Ian

    After following instructions to put a Menu in the footer bar, everything works. Essentially, it’s the Primary Menu pulled from inwiside Widgets > Footer Bar. Is there a way to collapse this menu into the hamburger when on mobile? Doesn’t seem to behave responsively as the regular Primary Menu.

    Also, is there a way to hook code into this footer menu inside fucntions.php like the regular menu using this:

    Currently using this:

    add_action( ‘generate_menu_bar_items’, function() {
    ?>
    <span class=”menu-bar-item”>
    Icon here
    </span>
    <?php
    } );

    #1619873
    David
    Staff
    Customer Support

    Hi there,

    if the Navigation is an exact duplicate of the Primary Nav then you can remove the Widget Nav and then add this PHP Function to your site:

    add_action( 'after_setup_theme','db_duplicate_nav_below_footer' );
    function db_duplicate_nav_below_footer() {
        add_action( 'generate_before_footer', 'generate_add_navigation_after_header', 15 );
    }

    How to add PHP: https://docs.generatepress.com/article/adding-php/

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