Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1108270

    Hi all,

    My main ubermenu is super complicated and really doesn’t work on mobile so I’d like to display a different menu.
    I’ve created a new theme location called Mobile but i can’t find the theme_location parameter in the mobile menu’s wp_nav_menu so I can call it.

    Where can I find…

    wp_nav_menu( array(
      'theme_location' => 'value to change'
      /* other settings */
    ) );

    Thanks

    Tim

    #1108590

    Hey TJ,

    You can try the solution posted here:
    https://kriesi.at/support/topic/multiple-menus/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1109235

    Hi,

    That link works for displaying a different menu somewhere on the page, why didn’t they just use the sub-menu element?

    I want to change the mobile menu call so a different menu is displayed in reference to this post.

    Show my ubermenu unless on mobile then display another.

    Thanks

    Tim

    #1109786

    Hi,

    Have you tried the following method:

    https://kriesi.at/support/topic/different-menu-on-mobile-view/

    Best regards,
    Jordan Shannon

    #1113319

    Hi all,

    My main menu is a heavy customised Ubermenu with images, icons, description none of which look right on mobile. Yes i could use css to completely restyle the menu and hide things and show other things but a neater way would be to output a different menu on mobile. A simpler and more mobile friendly one with less menu items.

    The following code

    if ( wp_is_mobile() ) {
         wp_nav_menu( array(
      'theme_location' => 'mobile-menu'
    ) );
    }

    does half a job. It adds an extra menu above the header on mobile. I need to know where the call is made for the menu that appears in the buger menu so i can replace that.

    Thanks

    Tim

    #1113802

    Hi,

    Thank you for the update.

    The burger menu is based on the default main menu, so you won’t be able to have it if you’re using the Ubermenu. You need to create another menu, set it as the Enfold Main Menu and then use css to hide it desktop view.

    Best regards,
    Ismael

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