Ptphotography Posted January 12, 2021 Share Posted January 12, 2021 Good day, Please help us with the code to zoom in the product images on hover. We want it to have the same effect as our gallery page: https://www.ptphotography.com/stmoritz-badrutts-palace-hotel-switzerland This is code we used for the gallery page if it is helpful: .gallery-grid-item img:hover{height:100%!important; width:100%!important; transform:Scale(1.2); overflow:hidden!important; transition-duration:.5s} .gallery-grid-item {overflow:hidden!important} This is the link for our product page we want zoomed in:https://www.ptphotography.com/destination-trial Thank you in advance, K Link to comment
tuanphan Posted January 13, 2021 Share Posted January 13, 2021 Add to Page Header <style> .grid-item:hover img { transform: scale(1.9); transition-duration:.5s; } .grid-image {overflow:hidden!important;} </style> 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 January 13, 2021 Author Share Posted January 13, 2021 @tuanphan I am forever grateful! Take care always 😊 Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.