ResolvedChange menu on mobile

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25509
    mirceaburdusa
    Participant

    Hello,

    I am trying to display a different menu on some specific pages. Using the Page Structure Options I am able to select a different Top Menu on specific pages, but on mobile the page still loads the default mobile menu, not the menu selected from the Page Structure Options.

    How can I display the same menu on mobile as on desktop on specific pages?

    Regards,
    Mircea

    #25524
    Althemist
    Keymaster

    Hello Mircea,

    the mobile menu can’t be changed on per page basis, but you can build completely different mobile menu under Appearance > Menus

    #25536
    mirceaburdusa
    Participant

    Hello Althemist,

    Thank you for your reply. Unfortunately I think having different menus on mobile and on desktop is a really bad user experience. Since you offer the option to change the main menu on a per-page basis, I would assume the same menu would be used for the mobile version as well. That would make sense. For me it doesn’t make sense to be able to change the menu on desktop but on mobile be stuck with a single menu on your whole website.

    How can I change the menu on mobile? Are there filters or hooks that I can use? If now, what theme files should I change in order to display a different menu on a single page, be it mobile or desktop? I think it should be fairly easy, have an if condition wrapping the mobile menu to check against the custom menu option and if that’s selected, change the mobile menu with the one selected. But I don’t know where to look. Please advise!

    Regards,
    Mircea

    #25547
    Althemist
    Keymaster

    Hello Mircea,

    Actually you’re right. I’ll discuss with the team and if it’s a theme problem we will release an update with fix immediately.

    As for having a different menu for mobiles and desktops – this is actually a very common practice. Most large sites would offer a totally different mobile menu optimized for the touch enabled devices and screen size.

    However, this doesn’t change the fact that if you set a new menu for the page it must be active on mobiles too, so we are going to check that.

    Thanks for your feedback.

    Regards,
    Dimitar

    #25587
    Althemist
    Keymaster

    Hello Mircea,

    Actually we have just did a thorough test and it works absolutely fine. When you change the menu for a specific page, it’s correctly set for both the mobile and desktop versions, unless you have explicitly set a mobile menu. In this case it would always have a priority on mobile devices and that’s how it was meant to work.

    If you don’t have a menu assigned as special mobile menu, the main menu (either the global one or the per-page one) will be displayed.

    Regards,
    Dimitar

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 14534, followers 708
Login and Registration Log in · Register