Links in the nav bar works fine in preview, but leads to a different link in the published site.
Ex 1) Pricing tab should go to /pricing, but it goes to /earlybird page.
And navigating to specific sections in the nav bar doesn’t work?
Ex 2) Features tab should go to a specific section on the home page, but it doesn’t work on other pages.
I’ve tried clearing the cache and even re-publishing several times, but I’m still having the same problem. Please help!!!
For your sections, I’d guess you are using the section navigation, which doesn’t work across pages. You’d need the section on all pages, or else you’ll need to use URL navigation to e.g. /#section using your section ID on the homepage.
I could not get the nav menu button to work on the preview, for whatever reason. I’m assuming I was having the same issue on my site, sharelink.
Situation:
The close button was placed over other buttons in the mobile nav bar. When testing, I clicked on the close button which would close the nav and move to a section on the page, even though I made its link point to #
The Fix:
I assigned a high z-index on the close button to put it above the other buttons.
How I figured it out:
I realized that the page kept redirecting to the section that the close button was above. I was trying to debug late into the night, lastnight. The fix came to me after more testing this morning. The lesson is to sleep on it, lol