Hartzelljs Posted June 2, 2022 Posted June 2, 2022 (edited) Site URL: https://crocodile-corn-gyyh.squarespace.com/2022 Hi All! Password: Opal240! On the top left image I've used this bit of code for the image block to have its caption fade to the background color with the caption centered: .image-caption-wrapper { min-height: 100%; display: flex; align-items: center; justify-content: center; background: #D7D3CA !important; } Since the caption now covers the entire image on hover I'm not able to click the image for the lightbox to pop up. The second image lightbox works since I have the caption turned off. Is there a way for the lightbox to still work? Thanks for the help! Edited June 2, 2022 by Hartzelljs
Solution tuanphan Posted June 3, 2022 Solution Posted June 3, 2022 Add pointer-events to your code to enable click .image-caption-wrapper { min-height: 100%; display: flex; align-items: center; justify-content: center; background: #d7d3ca !important; 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!)
Hartzelljs Posted June 6, 2022 Author Posted June 6, 2022 Worked perfectly! Thank you so much @tuanphan
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment