Mobile menu

  • Member
    February 3, 2015 at 11:52 pm #3418


    I have some pages in my menu added as sub-items so on the web version they only show on a mouse-over/hover, but this does not work on mobile devices..

    Is there a way to assign a mobile menu with all items?

    I tried adding a new menu location with this in the functions.php:


    And this in the header.php:

    <?php wp_nav_menu( array( 'theme_location' => 'primary mobile', 'menu_class' => 'nav-menu' ) ); ?>;

    But then I have two menus showing and I don’t know how to assign the appropriate menu…

    Hope you can help me with this!


    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.