Anchor scroll doesn't work in project overlay
-
Hey,
Anchor scrolling in project overlays doesn't work. What am I doing wrong?I've followed the documentation several times, but I still can't get it to work and I'm not sure what I'm missing. 😕
The anchor works when I open the project directly (https://bueroask.com/testprojekt//#hello), but it doesn't work inside the project overlay.
Link: https://bueroask.com/testprojekt/
Any hints would be greatly appreciated.
THX -
I face a similar behaviour on a page of my site. A laybutton with the #id will not jump to the anchor. When hovering I see the link target with #id at the bottom of my browser, but when I click the button, the URL will not change.
Requesting the site manually will jump to the anchor. But: there is no animation happening and no offset applied, even though the values are set in the Lay Options.
-
hey @rv do u have a link? cause i cant replicate this.
on @lulu.ask. i see it yea. So it seems to be a quirk with the project overlay. That's kind of weird because for me it works in a project overlay, but on your side it doesn't. I implemented a fix, and it will be released with the next Lay Theme update. Please let me know then if the fix worked for you. Not sure when I'm gonna release the update, maybe tomorrow or this week?
-
@arminunruh I updated, but unfortunately it doesn't work.
-
hello @lulu.ask,
thanks for checking again! i found another issue with the double slash in the project url and fixed it now. i’ll release another update shortly, after updating the anchor inside the project overlay shoud finally work. please let me know if it does! -
@arminunruh Thx, it doesn´t work but i found another way :)
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
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