Jump to content

Set Product Image alignment to top

Go to solution Solved by tuanphan,

Recommended Posts

Hello @tuanphan,

You solved my image cropping issue so thought you might have a solution to this one: 

How do I get the image to top align so the product detail text aligns with the top of the image? Here's a screenshot - see Site URL also. 

thanks!

Lori

image.jpeg.a4729fb3e1f1fcfdd09f505c06d85462.jpeg

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
On 4/8/2023 at 12:53 AM, Loribo said:

Sure - here you go: https://www.madjello.com/julia/p/jade-and-lace-moth

thanks,

Lori

Add this to Design > Custom CSS

img.ProductItem-gallery-slides-item-image {
    object-fit: contain !important;
    object-position: 0% 0% !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.