Close modal on click

Hello, would love to improve accessibility of the Mobile site.
Is there option for mobile menu to hide on link?
As my navigation is on one-pager to the sections.

Check it on mobile:

Need to hide the menu on mobile once user click.

Hello @petrbilek,

The Cwicly menu block includes this behaviour by default, although - if I’m not mistaken - you are not using it in your case.

You can add the static attribute data-modalclose with value set to true on your links, which should close the modal once the user has clicked on it.

Hope that helps.


1 Like

Thank you will have a look on it tmrw.

Works like magic, thank you!