Jump to content

images being cut off in product pages

Recommended Posts

I'm having issues with my images getting cut off in the product pages. It was happening on my main shop page and someone gave me this code 

.products.collection-content-wrapper .grid-item img {
    object-fit: contain !important;
}

Which took care of the main shop page problem, but when you click on the product the images are still being cut off. I've tried resizing and changing the ratios, but alas, nothing seems to change.

Link to comment

Hi

I have looked all over for a week and can not find how to change the orientation of the image when you click through from the product page. It displays how I want to on the product page but the next page that displays the options for size, number and add to cart options etc it only shows in landscape, cropping half the image off if it's in portrait. 

image.thumb.png.77dd951934f1404f3a40fceae754ebb8.png

image.thumb.png.454cf259ba7e4bad5be63cf1fb29f8e3.png

Link to comment

If you need to show landscape and portrait product images on Squarespace 7.1, please see my guide:
Product image aspect ratios on Squarespace 7.1

 

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
9 hours ago, MontyB said:

I appear to be on 7.0 that doesn't have the pencil option. How do I update?

The original poster is using version 7.1, but I see you are using an older template from the Skye family (2016). You can use the same principles that I described in my guide, but you'll find settings in different places:

  • You can set the initial aspect ratio of the product images in Design > Site Styles.
  • You can still tag your portrait images as I described - this hasn't changed.
  • You'll need to use some amended CSS - this can be provided once you have made the necessary changes.

How do you want them to appear?

image.thumb.png.6fdb3cde33f218a8870b1cc87ec19408.png

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009
edited for clarity

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
12 minutes ago, paul2009 said:

The original poster is using version 7.1, but I see you are using an older template from the Skye family (2016). You can use the same principles that I described in my guide,but you'll find settings in different places:

  • You can set the initial aspect ratio of the product images in Design > Site Styles.
  • You can still tag your portrait images as I described
  • You'll need to use some amended CSS

How do you want them to appear?

image.thumb.png.6fdb3cde33f218a8870b1cc87ec19408.png

Did this help? Please give feedback by clicking an icon below  ⬇️

Hi

 

Thanks for the reply. It's not the first image I need to change, it's the ratio aspects on this one - 

 

 

image.thumb.png.454cf259ba7e4bad5be63cf1fb29f8e3.png

Link to comment
6 hours ago, MontyB said:

Any answer to this one yet?

Have you set the styles and added the tag(s) as I suggested in my earlier post? I checked but couldn't see the changes.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
1 hour ago, ellenann said:

images are still being cut off.

Please provide a link to the page on your site where this is happening. Have you added any other CSS that could be affecting it?

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
11 minutes ago, ellenann said:

is there any way to send you a link to what I'm working on

Sure. My post "How to Post a Forum Question" provides guidance on how to provide a link. Once you've set a public password you can either share it here (so others can help) or send it via direct message.

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 2 weeks later...
On 6/19/2023 at 7:45 PM, paul2009 said:

Have you added any other CSS that could be affecting it?

On 6/19/2023 at 9:02 PM, ellenann said:

I already had this code in there to fix the main shop page image cropping

products.collection-content-wrapper .grid-item img {
    object-fit: contain !important;
}

Your own custom CSS is the cause of your issues. When I remove your custom CSS, it looks like this:

image.thumb.gif.614dd2f7f3986b99eaf297c86dc48d7d.gif

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.