Anchor Links in Overlay
-
Hey @arminunruh.
I've created an Overlay (with the new overlay feature) with several anchor links to the same page, however they do not seem to work. When I click an anchor link, the overlay remains open and nothing changes, except the URL.
Will this be possible in a near future?
-
sure, just update lay theme now to 5.9.4 and it should work
-
@arminunruh Just tried it out and it's still not working :/
Tested on Chrome, Safari and Orion -
can you post the link?
-
@arminunruh I just updated to the last version of Laytheme and Plugins, and it works perfectly!
Thank yooou -
@arminunruh Ups, just noticed that it doesn't work on mobile :/
You can check it at https://aaltar.com/homepage-2023/
The overlay is the 'Index' button. -
very nice website!
your desktop layout has ids set to elements or rows
now you also need to set the same ids to rows or elements in your custom phone layout. then it will work!
-
@arminunruh Thank you!
You're totally right, i completely forgot to set the ids on the mobile layout 🤦🏻. It works now!
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