Home › Forums › Oxygen General Questions › Creating a mobile menu with modal
I created a mobile menu with the modal pop up but its for a single-page website. How do I get it to close once the user gets to the section??
The code should smoothly scroll to the element and then the Modal should close. Please note that this relies on the links in the menu being hash links without the full site URL (for example, #section and not https://site.com#section).
I hope this helps!