Lightbox only showing the first image
-
Hi,
I have the Laytheme and Lightbox Addon enabled on this site. Not many plugins are activated. I have disabled all the plugins and tested as well. I have posts like this:
http://www.theprojects.com.au/building-remnantsIf you click on any of the image, only the first image seems to appear all the time. But I did notice that this behavior is corrected if you resize the window. So, clearly, some JS is doing the trick. The classes are not added in the divs when the issue persists. Once resized, the classes are added and correct image is shown.
I searched the forums and cannot find any questions like this so if anyone can help me out resolve this issue, that would be great.
LayTheme: 3.2.9
Lightbox Addon: 1.5.0Thanks,
Chandra -
Dear @maharzan
ok. This is weird. Yes, I can also see it. Only the first image gets used.
We will check.
Best!
Marius -
hey sorry for the late reply, i have never seen this issue before and i cant quite see why this would happen :O
can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?
-
Hi,
I have narrowed down the issue. I have a child theme with just basic functions.php code. So, when I activate the lay theme (parent), the issue is gone. But when I activate the child theme, the issue comes back. Even with no code in functions.php, the issue is there. So, I am wondering if it has to do something with the theme name, slug?
Do you have any insight?
-
Dear @maharzan
Ah great! Thank you for sharing and using LayTheme!
Best!
Marius -
mh yea probably it did use that html class "hide"
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