This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Main Menu on mobile devices

  • Creator
    Topic
  • #7875
    tompickle
    Participant

    Hey Jason,

    Is there a better or different way to display the main menu on mobile devices? Right now if I go to my site (casagrandeaz.us/econdev) on a mobile device, the main menu is just a scrolling mess of a menu. I have roughly 100 pages on the main menu and it’s very difficult to navigate using that menu. Is there a way to implement another menu or make the scrolling mobile menu more functional?

    Thanks,

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #7884
    Jason Bobich
    Keymaster

    Hello,

    One approach would be to set it up so you include a different navigation menu from Appearance > Menus that you build just for mobile users.

    Here’s how you’d do it from your Child theme’s functions.php:

    /**
     * Register mobile menu with WordPress
     */
    register_nav_menu( 'mobile', 'Mobile Menu' );
    
    /**
     * Filter new menu ID into theme
     */
    function my_mobile_menu( $menu_id ) {
    	return "mobile";
    }
    add_filter('themeblvd_responsive_menu_location', 'my_mobile_menu');
    #8908
    tompickle
    Participant

    Hey Jason,

    I just realized I forgot to reply and tell you thanks for this, so thanks! It worked great.

    Thank you,

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.