Jump to content

Product Thumbnail Size

Recommended Posts

1 hour ago, lucifervirroc said:

I have two different store pages on my site. Is it possible to resize one store page so the aspect ratio of the product thumbnail is 1:1 and 3:4 (vertical) on the other store page?

What is store url to check? Technically we can use the padding-bottom value to change ratio of thumbnail

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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
On 2/24/2021 at 6:16 AM, lucifervirroc said:

I have two different store pages on my site. Is it possible to resize one store page so the aspect ratio of the product thumbnail is 1:1 and 3:4 (vertical) on the other store page?

Do you still need help on this?

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
8 hours ago, lucifervirroc said:

www.lucifervirroc.com

I only have one store published because of this issue.

Add to Shop Page Header where you want 1:1 

<style>
  .tweak-products-image-aspect-ratio-34-three-four-vertical .products.collection-content-wrapper .grid-image-wrapper {
    padding-bottom: 100% !important;
}
</style>

 

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
  • 2 weeks later...
On 3/8/2021 at 8:02 PM, lucifervirroc said:

Now how do I make 1:1 ratio on the actual product page? Thanks for your help!

https://www.lucifervirroc.com/merch/p/essential-v-neck

Add to Merch Page Header

<style>
  .tweak-product-basic-item-gallery-aspect-ratio-34-three-four-vertical .ProductItem-gallery-slides:before {
    padding-bottom: 100% !important;
}
</style>

 

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
  • 4 weeks later...
On 4/11/2021 at 2:35 AM, MarcWatson said:

I want to send a big thank you to tuanphan for this code. I just used it for a friends web shop and it worked really well! I was easily able to set the ratio to 16:9 by adjusting the padding percentage.

Thanks again
tuanphan!

You're welcome. If you have any other problems, just reply here or create new question

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.