itsandre Posted December 14, 2020 Share Posted December 14, 2020 I have a page, it's a bunch of individual image blocks arranged in a grid. I set them all to inline with caption on hover but I wanted the hover to be the the full height of the image and the caption to be centered. So, I used this little bit of code here: /* Image Captions on Hover*/ .image-caption-wrapper { min-height: 100%; display: flex; align-items: center; /*vertically centered */ justify-content: center; /*text align center*/ background: rgba(1, 1, 1, 0.6) !important; /* Background Overlay*/ } However, I have now lost the ability to 'clickthrough' to another page on my site. How I can I get the 'hover' I want and still be able to 'clickthrough' anywhere on that image/thumbnail. Thanks, -A Link to comment
tuanphan Posted December 19, 2020 Share Posted December 19, 2020 Try adding this to Home > Design > Custom CSS. If it doesn't work, please share link to page where you use image blocks. We can help easier .image-caption-wrapper { pointer-events: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.