All the content of my site are on one page and each section is pointed to with an anchor link. However, from other pages, such as Cart, the #tickets naturally doesn’t work. The problem is easily fixed by adding ...com/#tickets, but when clicked on the same page, it reloads (navigates to the url) it instead of smoothly scrolling down.
How would you solve this (without a plugin for different menus on different pages)? How could I make universal anchor links that preserve the jumping function when clicked on the same page?
-
This topic was modified 4 years, 1 month ago by
Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic