Arch Posted June 12, 2020 Share Posted June 12, 2020 Site URL: http://www.arch-worldwide.com/shop-all Hello, I've set the images on my store to show a lightbox when clicked, but the portrait photos are always cropped when they show up in the lightbox, even when I input the zoom factor as 0 on the design settings. How can I make it so the whole image shows fit to screen instead Link to comment
Beyondspace Posted June 16, 2020 Share Posted June 16, 2020 Hope this help, Arch .gallery-lightbox-item img { top: 0 !Important; width: 100% !important; height: 100% !important; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Arch Posted June 16, 2020 Author Share Posted June 16, 2020 @bangank36 This skews the image though and squeezes its dimensions onto the screen. Link to comment
Beyondspace Posted June 16, 2020 Share Posted June 16, 2020 4 minutes ago, Arch said: @bangank36 This skews the image though and squeezes its dimensions onto the screen. This may removed the distortion .gallery-lightbox-item img { width: auto !important; height: 100% !important; margin: 0 auto; left: 50% !important; transform: translateX(-50%); } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Arch Posted June 17, 2020 Author Share Posted June 17, 2020 @bangank36 Awesome that's perfect thank you! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.