Ptphotography Posted August 11, 2020 Share Posted August 11, 2020 Hello everyone, Please help with the code to view the full size of the images upon click (lightbox) on my product page. On preview, the size it is: 2:3 (verticle), on click, it turns landscape. I want Lightbox to show image full size: 2:3. https://www.ptphotography.com/destination/7v1gw1mrynm8aojh0otshn3rwbj4yc-p62n2 Thank you in advance 🙏 Link to comment
tuanphan Posted August 17, 2020 Share Posted August 17, 2020 Add to Home > Design > Custom CSS .gallery-lightbox-item img { width: 100% !important; height: auto !important; top: 0 !important; object-fit: cover !important; } 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
Ptphotography Posted August 17, 2020 Author Share Posted August 17, 2020 @tuanphan Amazing! Thank you 🙂 Link to comment
Ptphotography Posted August 19, 2020 Author Share Posted August 19, 2020 @tuanphan I got to try this code today and forgive me for doing it so lately. Not sure what happened but the code doesn't work for me. Please help me once again! 🙏 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.