Project Overlay + Carousel / Lightbox issue on direct URL load
-
Hi,
I have an issue with project overlay + carousel/lightbox on two very similar websites.
Structure on both:Works page → project overview
Projects open as overlay from the Works page
Problem: If I open the project directly via URL:On https://balazsdanyi.com/works/:
carousel gallery does not load
when closing the project overlay, the Works page does not appear until a manual page refreshOn https://vzt.hu/works/:
clicking on images does not open the lightbox gallery
going back to the Works page also only works after a page refreshIf I open a project from the Works page, everything works correctly on both sites.
I also uploaded two videos showing the issues:
https://drive.balazsdanyi.com/d/s/18KWqX4Ihn6nmfTKfS934y7aUNwHWkBC/YFF4vV5FTN6LIPCm3_49BtGzR4OB3tKt-e7wg6mh2Ng0Any idea what could cause this?
Thanks!
-
oh, thanks for the heads up. Yeah, I recently coded it, so on direct load or refresh of a project, it will still be visible as a project overlay instead of just a normal project. The lightbox add-on is getting confused with that. I'm going to fix it now and release the update today or tomorrow. Sorry about this happening.
-
the Carousel add-on was probably an issue related to that. This will be fixed too with the next update.
-
thanks Armin for the quick fix! with the last update the carousel loads properly and the lightbox is also working fine.
there is still one remaining issue though:
if I open a project directly via url, then close the overlay project, the Works page still does not appear automatically. the page stays blank until I manually refresh the browser. i also tried changing the “Page to show under direct-loaded project overlays” setting to other page, but it didn’t help. this still happens on both sites. -
well, I can't really reproduce this on your site because I guess there are just some website coming soon pages.
Please post the exact project URL where I can test this.
-
maybe it had to do with the cache not clearing automatically after lay theme updates.
You could try to update again now and see if it works then.You can also send the URL to the page where it doesn't work to info@laytheme.com
But please make sure to send a link to this topic too for context.
-
sorry for the unclear link before. you can test it for example here:
https://balazsdanyi.com/2026-kontextus-s19-wip2/
or here:
https://vzt.hu/2026-vu-fured/
when opened directly, if i close the overlay, the projects overlay page, https://balazsdanyi.com/works/ and https://vzt.hu/works/ does not load automatically — the page stays blank until i manually refresh the browser. if i open the same project from the Works page, then closing the overlay correctly. i tested this in chrome, firefox and edge as well. layout cache is disabled.
i also updated to version 11.0.7 now, but unfortunately the issue is still there.
thanks
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
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