Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 23h 20m 33s
Claim 50% off
Solved Templates

See submenu items directly when I click on mobile menu

Asked by Ola 1 year ago Last activity 1 year ago

Hi!

When I click on the "hamburger menu" (mobile menu) I see all my mainmenu items at level 1 there. To reach the submenus, level 2, I need to click on the ">"-icon. It is not very clear for all users.

Is it possible to see the submenu items directly when I click on the hamburger (mobile menu)?

Instead of
Sports >

I want to see this when I click on the hamburger.
Sports

  • Soccer
  • Basketball
  • Icehockey

I use Helix Ultimate template and Pagebuilder Pro.

Kind regards
Ola

Accepted answer

Marked as the solution
Ola Asked this

Thanks a lot! Works fine.

Kind regards
Ola

Asfakur Rahman Saikat Staff

You're most welcome.

1 more reply

Asfakur Rahman Saikat Staff

Hi there,

Thank you for reaching out!

If you want the offcanvas submenu to display directly when clicking the hamburger menu, you can achieve this by adding the following custom JavaScript code to the Custom Code section in Helix Ultimate:

$(document).ready(function () {
    $(document).on('click', '#offcanvas-toggler, .offcanvas-toggler-secondary, .offcanvas-toggler-full', function () {
        $('.menu-parent').addClass('menu-parent-open');
        $('.menu-child').slideDown(0);
    });

    $(document).on('click', '.close-offcanvas, .offcanvas-overlay', function () {
        $('.menu-parent').removeClass('menu-parent-open');
        $('.menu-child').slideUp(0);
    });
});

You can refer to the official documentation on how to add custom code in Helix Ultimate here:
Helix Ultimate Custom Code Documentation

Hopefully, this resolves your issue!

Best regards

Log in to reply.