Anchor links within overlays - scrolling position issues
-
wrote 28 days ago last edited by
Hi Armin,
I'm running into an issue when using anchor links within an overlay project.
I have a "read more" link that jumps you down to the project text.
Works fine on desktop - here's the test page: https://primaryworks.com.au/south-east-centre-for-contemporary-art/However, on mobile any scrolling of the main website results in the anchor jumping too far down the page, past the point specified via the lay options. It seems that the overlay is responding to the scrolling that's happening behind it somehow.
Can't quite work out how to fix, any help greatly appreciated!
Best,
-
I see. This will be fixed with the next update.
For me, it didn't work correctly on desktop either.
-
wrote 10 days ago last edited by
@arminunruh thanks, would be great to get sorted :)
I've removed the mobile interaction for now.
Desktop has a few kinks but works fine 90% of the time for me. -
hello i think i have already fixed this issue. can you make sure to update to the latest version of lay theme and then try if it works please?
-
wrote 9 days ago last edited by
Fixed!
Thanks Armin :)
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
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