I'm working on this website
I have a landing page with links to anchors within the same page. All my menu buttons are custom links (#about, #contact, etc) and they are working fine on desktop, but in mobile they are having a strange behavior.
Buttons scroll down only if i'm on the top of the site, if i'm on some other part, the menu buttons takes me to the top and then i have to tap again to scroll to that section.
What could be the mistake?
It's weid because every site i did this way worked fine, it's just the same menu for desktop and mobile.
Thanks for helping!
Yes i see the issue on Mobile & in your console there is an error with this 'page-scroll-to- id '
As a first step could you make sure of the following before moving forwards:
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 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.
Additionally please take a look at https://laytheme.com/troubleshooting.html for known problems.
Would be great to know if its a bug and can fix it as soon as possible :)
If you have further questions @juan-casal please feel free & have a wonderful day
Thank you for using Lay Theme
Before you post:
- 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"
- When using a WordPress Cache plugin, disable it or clear your cache.
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- If the problem is difficult to explain, post screenshots / link to a video to explain it