Can’t return to homepage from sub menu page due to anchors
-
Hello, I’m really stuck on something probably quite simple, as I’m a total newbie to website creation. Would be incredibly grateful for some help!
I’ve created anchors on a homepage and have a scrolling function set up so that when you click on a main menu item, you scroll to the relevant anchor on the page. This all works fine.
But, one of the main menu items (about us) has three sub menu items (our team, our values, positive impact). Once you’re in the sub menu – which is actually just one page, again with anchors for each section – you can’t get back to the main menu. The sub menu item URL remains in the browser when clicking on a main menu item.
Similarly, the only sub menu item you can get to from the main menu is the first one (our team), because I added the full URL into the custom link. This is a problem in itself as you now can’t smooth scroll to that item when in this page.
I know there is an issue with the URLs / anchors I’m writing, but I can’t work out how to fix them and have had no luck with my web host support. Thanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Can’t return to homepage from sub menu page due to anchors’ is closed to new replies.