Arch Posted June 12, 2020 Share Posted June 12, 2020 (edited) 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 Edited June 19, 2020 by Arch 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; } Begona 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, 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. Beyondspace 1 Link to comment
Solution Beyondspace Posted June 16, 2020 Solution 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%); } Arch 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, 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! Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment