One Page Anchor Links Not working on mobile
-
Once again this issue with not working anchor links on mobile menue views. Getting a weird script error about an offset not defined, but I can not figure out what it is exactly:
"Uncaught TypeError: cn.find(...).offset() is undefined"
Site is already live and help is much appreciated. thx.
https://ghostfest.de/ -
Dear @bivisual
best wishes
There is an unusually high amount of errors in the
console, could you please make sure of the following:Wordpress, Lay Theme & Laytheme's Addons are all up to date ?
Any custom CSS or JS that may interfere is temporarily removed.
Any third-party plugins are de-activated to see if this resolves the issue.
If using a WordPress Cache plugin, disable it or clear your cache.
License key not activated - (in website blank situations or button not available)
If your WordPress Dashboard shows a warning "PHP Update required” Please update your PHP version in your webhost control panel.
Possibly your website is running PHP 8.0 this has been known in some cases to cause issue.
Also to be sure when setting up the Anchor Link:
The url path is indeed linked to the ID # of an Element in which to scroll to. No Custom Code is being applied to change the behaviour of the Anchor scroll that could be interfering .
Talk soon 🌝
Richard
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it