URL With Anchors Issue - DEMO 1 (HTML)
I've added a smooth scroll to one of my buttons but it does not seem to be working correctly.
This is the code:
<a href="#get-inspired" class="menu-link" data-kt-scroll-toggle>
For some reason, when I place the anchor in the href, the page url (index2.php) is not detected in the address. Instead it just shows the main url (https://epikescapes.com/)
The anchor URL appears as https://epikescapes.com/#get-inspired when it should be appearing as https://epikescapes.com/index2.php#get-inspired so that the smooth scroll works. Instead, the page just reloads.
You can test it out here: https://epikescapes.com/index2.php
- Mouse over DESTINATIONS and click on AFRICA & MIDDLE EAST
Any assistance would be appreciated as this is the first time I've come across this issue with anchors.
Ignore this request as I posted an updated version. I can't seem to delete this for some reason.