Home Forums WoodMart support forum Mobile menu second level collapsed

Mobile menu second level collapsed

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #221426

    scholtobos
    Participant

    — Please, can I get an answer from Aizaz or Artem? I wasn’t happy with the quality of Elises support several times —

    Hi,

    On mobile you can create menus with multiple levels. When there is a second level the menu items are always collapsed by default.

    Can you provide me a piece of css or javascript to open the second level of ONE of the items (in my case menu-item-23981) by default so visitors don’t have to click to see the second level?

    Please see screenshot to see what I mean.
    Thanks in advance.

    Attachments:
    You must be logged in to view attached files.
    #221652

    Artem Temos
    Keymaster

    Hi,

    Try to add the following code snippet to the Custom JS area on document ready in Theme Settings to do this

    jQuery('.site-mobile-menu .item-level-0:first-child > .icon-sub-menu').click();

    Regards

    #221722

    scholtobos
    Participant

    Thanks. It works.

    #221809

    Artem Temos
    Keymaster

    You are welcome.

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

The topic ‘Mobile menu second level collapsed’ is closed to new replies.