For the complete documentation index, see llms.txt. This page is also available as Markdown.

On mobile, tapping a parent menu item navigates away instead of expanding the submenu

By default, tapping menu text navigates and tapping the arrow expands. Use a CSS snippet to disable parent-link navigation on mobile in Avante.

This is the default theme behavior.

  • Tap the arrow to expand the submenu.

  • Tap the text to open the parent link.

There is no built-in setting to change this behavior.


Disable navigation on a specific parent item

If you want tapping the text to expand the submenu instead of opening the parent link, add this in Theme Editor → Theme settings → Custom CSS:

Replace [item-name] with the menu item's CSS class.

How to find the class

  1. Open your store in the browser.

  2. Right-click the menu item and select Inspect.

  3. Find the <a> element and look for a class that starts with link-, such as .link-brands-designers or .link-shop.

lightbulb

This only affects the menu item you target. All other menu items keep their default behavior.

Last updated

Was this helpful?