Adjust accordion logic to work for multiple accordions

Continuing the discussion from How to keep accordion drop-down menu open when opening a new page?:

Hi,

I would like to implement the same functionality for the multilevel accordion. Your code is working fine for the single level accordion not for the multilevel. Could you please help me with this if you could.

Thanks,
Mahendra

Do you have a demo of what you’ve tried so far? Post what you have on CodePen and link to it here. :slight_smile: