Anchor Links Worked then Stopped

I know this topic has been used and abused but I have tried everything for months with no success.

Here is the scope:

Created unique ID for page sections i.e. (webdesign)
Created custom links in Menu i.e. (/#webdesign)

Disabled every plugin
Tried WP Debug
Inspected links in Chrome console (they work)
Wordpress version up to date
X Theme Pro version up to date
Cornerstone up to date
No Javascript errors

Please advise & thank you

Summary

remove by staff

Hello @6stringlove,

Thanks for writing in!

It seems that you have inserted a broken code on the site. I have found this in your custom CSS in Cornerstone > Theme Options > CSS:

And most importantly, I found out that your Contact Form is using broken DIV elements. Please double-check it first because this may affect the HTML structure and other elements like the <a> tag.

Please correct this code. If you are not the one coding this, you may need to contact your developer.

Thanks.

I appreciate your insight on the broken code.

I’ve removed those lines of code and deleted contact form entirely.

The anchor links in menu under “Services” work from every page except on the Home page.

How do we fix this?

Hi @6stringlove,

I have checked your website and found the issue, but unfortunately, the issue can’t be replicated in my local environment. It might be some different reasons behind your issue, I would like to suggest troubleshooting the following common issue to help us to recognize the reason.

1.Theme Related Issue
2.Plugin Conflict
3.Theme Update related issue
4.CSS/JS Customization
5.Disabling Cache
6.Disabling CDN

If you discover that an issue is coming from a custom code or 3rd party plugin, kindly consult with a developer or contact the plugin author. Please note that we do not provide support for custom codes and 3rd party plugins.
If none of the above helps and the issue persists, please copy your live site to a staging server so we could troubleshoot freely without breaking your live site.
And give us access in the secure note including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.