Hi guys,
I have a couple of issues with my one-page setup and with the display of active links. As I am locally developing my website, I will provide screenshots to illustrate my problems. I am using PRO version 2.2.4.
Issue #1: One Page Navigation
I set up the one-page navigation following your article in the knowledge base by adding an unique ID to some sections, adding custom links to my menu, and assigning that menu to my page like so:
The one-page navigation works fine. However, when I click on a custom link and the page is scrolled to that anchor, the web-address displayed at the top of the browser changes to “base.url/#ID”:
How can I get rid of that behavior and have the address being left unchanged (i.e. no #ID addition)?
Issue #2: Active Links
My second issue is that those one-page anchor links show up active in my header and footer navigation menus even though I turned all the options off in my header setup and turned on only the primary particle for the current link in my footer setup:
Here’s what it looks like on the front-end:
So, basically I am missing an option to turn custom anchor links off in the active links setup. As you can see, the hashtag link “DESIGN” appears to be active in the footer because parts of that section are visible in the viewport.
This doesn’t make sense. If there’s one anchor link that is supposed to be active, then it would be the menu item “KONTAKT” as this is the link to the footer which has the respective ID #kontakt. But because the footer section is not at the top of the viewport, that link does NOT appear active.
Any ideas how I can mitigate these issues?
Thanks!