Mobile Menu doesn't close after clicking Nav Link (to a section)

For the Hamburger dropdown menu on a single page website with Nav Links going to sections, the menu doesn't close after clicking a Nav Link.

However I do have two pages (Privacy Policy and T&C's) which are separate pages and when clicking on a Nav Link (External URL, i.e. '/#Introduction') does close the menu as it's going back to another page forcing a reload.

Main problem is when you need to navigate to a section on the same page where the Nav Link won't close the menu after it has been clicked.

  • Marnix Garner
  • May 20 2022