Normally, when captions appear under the thumbnails, they are separate from the link area that covers the thumbnail. This allows links inside the caption itself. In some cases you expect a click on any part of the caption to do the same thing as the thumbnail's link. You can use this trick to "redirect a click":
Add this to Custom JS:
1 | jQuery('.jig-imageContainer').on('click','.jig-caption-wrapper',function(){ location = jQuery(this).prev().find('a').attr("href"); }); |
Altenatively, you can try this too:
1 | jQuery('.jig-imageContainer').on('click','.jig-caption-wrapper',function(){ jQuery(this).prev().find('a').click(); }); |
And this to Custom CSS:
1 | .jig-caption-wrapper { cursor: pointer; } |