Make a menu expand / collapse

Hi, using the example (layouts/partials/sidebar.html) from Menu Templates I have a working menu in my sidebar.
Problem is sub menus remain expanded, how can I make the menu items collapse/expand when I click it?

Thanks
David

That is a CSS or JS question and it’s OT here.

Please search Stack Overflow and the web.

1 Like