I have some anchor links but I would like the page to scroll down to the anchor and it’s not working.
The links from the Services sub menu should jump to each anchor.
Please advise.
Thanks.
Hi!
Link the anchors excluding the full URL, like:
#anchor
Instead of:
http://website..com/#anchor
Best regards,
Josue
Josue –
That will work from any page? Like I can link to the anchor that’s on the services page from an href on the home page? Please confirm.
Thanks.
Hey!
No, but you can use a plugin such as this one – https://wordpress.org/plugins/zen-menu-logic/ to set different menu per page
Regards,
Yigit
There’s no other way to use anchor links on the site?
Hey!
Smooth scroll works if you are linking to an anchor point that is on the same page. Anchor links on other pages would directly go to that section without any smooth scrolling
Best regards,
Yigit
Yigit –
That makes sense, but right now they aren’t working. Test them yourself please.
Hey!
It is going to be much easy for you if we set up a demo page for you please create a temporary user with ‘administrator’ role and share in private content with permission to deactivate all plugins and add custom code if necessary to help you resolve this issue.
Best regards,
Vinay
Ok – here’s the information.
Just be careful – the site is finished except for this.
Hey!
Please check private content.
Best regards,
Vinay
Hi Vinnie –
Not sure why I forgot about the section id approach. That’s good, but I’m still having a problem. Look at the private content.
Thanks,
Gabe
Hi!
The link should be just #ID on the same page “#individual-therapy” if you add page “services/#individual-therapy” the scroll wont work :)
Cheers!
Vinay