Jump to content

Problem with my store pages cropping the photos which are for sale.

Go to solution Solved by creedon,

Recommended Posts

Posted

I have a store with photography for sale.  The problem I'm having is that the photo isn't showing completely when someone goes to buy it.  How can I make a photo show up in its entirety and not be cropped (so that the seller can see exactly what they are buying)?

Posted

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
1 hour ago, creedon said:

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

password: photography123

This is the link for one of the store pages:    https://www.alexandracabrerophoto.com/store/p/nv9cc1ue9ciiiwwvdxqr9mtica2mbq

I tried changing the layout but all it did was make the photo just a tad less cropped and it made the photo title very big.

  • Solution
Posted (edited)

Add the following to Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection.

<style>

  .view-item .ProductItem-gallery-slides-item-image {
  
    object-fit : contain !important;
    
    }
    
  </style>

Be aware that you are altering the responsive nature of SS's layout. Responsive as far as images go, usually mean compromises in order to provide a overall more pleasing design.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted

You've changed the Product Detail Design Layout from Full to Simple, so the code broke.

Please let us know when you've picked a final design layout so we can try to provide a working code.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
15 hours ago, creedon said:

You've changed the Product Detail Design Layout from Full to Simple, so the code broke.

Please let us know when you've picked a final design layout so we can try to provide a working code.

Sorry about that.  Simple will be the official Design Layout.

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.