Hi ! I used your code and it's working on desktop very well, but it doesn't seems to be working on mobile for my website.
Here's a picture of what the code does to my menu. I also attached a picture of what I used to have, but I wish to have the directory on all category's page.
A couple weeks ago, I also added a code to have a nested menu on mobile so maybe it's interfering with yours ? I tried removing it, but then the menu is on one line, and I don't like it this way. It's not very user friendly.
I hope I'm making sense. Thank you for your help !
Here's my shop link : https://www.sarahlalune.com/boutique-2