Correct logic to display a submenu repeating group

I am trying to have my page loaded with the menu collapsed by default and only open when the category above it is clicked.

So far, my menu will collapse and open when the main category is clicked, however I don’t want the submenu displayed by default when the page is loaded.

What is the correct logic to leave the menu collapsed when the page is loaded as I already have clicked the box “collapse when hidden,” and this doesn’t work.

Screen Shot 2022-07-23 at 11.32.31 AM

If I use this conditional, then the menu does not work when the main category is clicked.

Screen Shot 2022-07-23 at 11.35.52 AM

This topic was automatically closed after 70 days. New replies are no longer allowed.