Hello T,
Could you please open the admin panel for the plugin and go to Basic > Add Lightbox Options > Images with Lightbox, and then check the box for “Images with CSS Selectors Set Below”? Then add the following selector to the “CSS Selectors to Add Lightbox” field below:
.lightbx img
Do the images then get the lightbox?
Thread Starter
T.Kick
(@tkick)
Hello Jay,
Yes that is working, IF: I only select that option, under ‘.lightbx img’
So that would imply (to my case anyway) that the options under that item should not be check boxes, yet radio buttons instead.
So one can only use 1 of the options, not multiple.
Again, for my case anyway.
Not sure how it works on other configurations.
Thanks (a lot) so far! It works flawless now.
Hi T,
I’m not sure what you mean. Do you mean that, if you, for example, also check “All WordPress Galleries,” then the selector option no longer works? That definitely shouldn’t be the case.
Those options should definitely be checkboxes and not radio buttons.
Thread Starter
T.Kick
(@tkick)
Yep, that’s exactly what is happening.
I would have thought so, that they are meant to work in unison.
But yeah, that’s how it is(n’t) happening here.
Thread Starter
T.Kick
(@tkick)
Btw. Can I give a tip?
I’ve added:
.lightbx:hover {cursor:zoom-in;}
Makes more sense to me.
Hi T,
Thank you for sharing that. We were able to recreate an issue similar to what you described. However, on our end, we’re only getting an issue when the “All Images” option is enabled. Enabling “All WordPress Galleries” as well as “Images with CSS Selectors Set Below” (but not “All Images”) leads to no issues (i.e. the lightbox appears for the targeted images). Is this the same for you? If so, is there any reason why you would need to have both the “All Images” option and another option selected (since all images encompasses everything to begin with)? That being said, I would recommend that you not even use the “All Images” option anyway. That should only be used in rare circumstances as most users do not want every single image on their site to open in a lightbox.