Scroll to location # causing URL to remove anchor #
-
Hi there,
On this site, in the Specialist Services grid partway down the page, the links (which are anchor URLs) are redirecting in such a way that it will show the correct URL in the browser window as it’s loading the new page, but then the ID will disappear off the end of the URL, so it won’t scroll, or even jump to the correct part of the page and just stays at the top. e.g. …/services/#block-18 will change to …/services/#
I have tried using different anchors that aren’t set up as a selector in the plugin, but that doesn’t work. The only thing that works is if I disable the Scroll to Location # function.
Is there any way to get around this? Ideally I need to keep the Scroll to Location # functionality for the menu. This did work until recently, so I’m not sure if it was a WordPress update or the plugin update that affected this.
Hope you can shed some light on this.
Thanks,
Sandra
- The topic ‘Scroll to location # causing URL to remove anchor #’ is closed to new replies.