non-image link
-
Thanks for a great plugin Arno.
I have captions that slide up over the image on hover and I want the user to be able to click on the caption or the image to get the lightbox. I am over-riding the gallery shortcode with
post_gallery
filter.Since the caption link does not contain an image, the lightbox does not open. I know this is as designed, but I wonder if there is a way to force the lightbox on text links using something like
class="force-lightbox"
on the link.Currently my workaround is to add an image inside the caption link and hide it with css, but it is not a nice solution because it creates two images in the lightbox.
Thanks for any thoughts on this.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘non-image link’ is closed to new replies.