• Resolved encountertherapy

    (@encountertherapy)


    Hi,

    Having problems with a responsive menu for my forum using the Vantage theme. It seems to be getting confused when determining whether in desktop or mobile mode and ends up displaying both on my desktop. Also, on my desktop and on my mobile, the following is also displayed:
    < class=”menu-mobilenav-container”>

    I’ve deactivated all my plugins and the issue remains. I’ve also switched themes and the problem disappears. Could someone (from SiteOrigin?) please have a look and check it out?

    Many thanks,
    Neil

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Neil

    Thanks for posting.

    To get the main theme menu to collapse at the same time as your forum menu, go to Customize > Theme Settings > Navigation and check the Mobile Menu Collapse to 620.

    https://siteorigin.com/vantage-documentation/customizing-vantage/theme-settings/navigation/

    Thread Starter encountertherapy

    (@encountertherapy)

    Hi Andrew,

    I don’t have any problem with the main theme menu, and want it stay just as it is. The issue is that the forum menu has ‘< class=”menu-mobilenav-container”>’ displayed in the menu bar, and that in desktop mode both the desktop menu and mobile menu hamburger icon are displayed together.

    Thanks,
    Neil

    Thanks for the update. We’ll take a look at solutions and come back to you.

    The following can be tried in a child theme functions.php file:

    function remove_siteorigin_mobilenav_nav_filter() {
    	remove_filter( 'wp_nav_menu', 'siteorigin_mobilenav_nav_filter', 10, 2 );
    }
    add_action( 'wpforo_menu_bar_start', 'remove_siteorigin_mobilenav_nav_filter' );

    Or using a plugin called Code Snippets. Once Code Snippets is activated, add a new snippet, name it as you’d like, insert the function and select to only run on the site front-end. Then save and activate.

    Thread Starter encountertherapy

    (@encountertherapy)

    Added the function and it worked perfectly thank you ??

    Super, glad that helped ?? All the best with your site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Menu display issue with Vantage theme’ is closed to new replies.