Jump to content

SOLVED: Product Image lightbox photo cropped

Recommended Posts

  • Replies 4
  • Views 976
  • Created
  • Last Reply

Hope this help, Arch

.gallery-lightbox-item img {
    top: 0 !Important;
    width: 100% !important;
    height: 100% !important;
}

 

image.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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
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%);
}

image.thumb.png.682a5ab604a5e4eda47eb34144ca7581.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

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

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.