Trouble with internal navigation on a single page site
-
I built a single page website using twentyseventeen. It’s made up of a few pages, specified in the theme options customizer.
The problem is that my menu doesn’t jump to one of my pages using the slug in the “#” form, but it works for the other page.
The menu links to “/#location” and properly jumps to the location page. But the menu for gift cards doesn’t jump to the proper slug (#cant-decide-give-a-montclair-farms-gift-card).
I’ve tried replacing the slug with a shorter name (#gift), and I’ve tried re-creating the page and leaving the slug autogenerated.
If I change the menu to navigate to the page by URL without the hash (/cant-decide-give-a-montclair-farms-gift-card), it works fine, but that’s not the effect I’m looking for. I’d like it to scroll (using the smooth scroll plugin), like it does to the location page.
Any thoughts?
-Michael
The page I need help with: [log in to see the link]
- The topic ‘Trouble with internal navigation on a single page site’ is closed to new replies.