Jump to content

Product auto crop

Recommended Posts

  • 2 weeks later...
  • Replies 1
  • Views 447
  • Created
  • Last Reply
On 3/2/2021 at 6:06 PM, MarkusPe said:

Site URL: https://www.kaurinart.no/maleri/akryl

Hello

Have a problem with the autocrop i Squarespace.
If you check out the link https://www.kaurinart.no/maleri/akryl you can see that some of the images when hovering over the products are cropped really bad.

Is there any code I can use to fix this?

Thanks!

Add to Akryl Page Header

<style>
  .products.collection-content-wrapper .grid-item .grid-image-cover {
    object-fit: contain !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

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.