Jump to content

Change page's design for only one product

Go to solution Solved by Cassiano,

Recommended Posts

Hi,

 

on my shop the standard display size of the images of products is 4:3, vertical

But I want the images of only one product page to be 4:3, horizontal.

 

Is this possible?

Thanks

Edit: for clarity, if changing on the product page, the design change reflects to all other products.

Edited by Cassiano
clarity
Link to comment

Edit that product > Additional Info > Add a Code Block > Paste this code

<style>
  .ProductItem-gallery-slides:before {
    padding-bottom: 175% !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
On 8/1/2023 at 10:02 AM, tuanphan said:

Edit that product > Additional Info > Add a Code Block > Paste this code

<style>
  .ProductItem-gallery-slides:before {
    padding-bottom: 175% !important;
}
</style>

 

Thanks, but it didn't work. It just stretched more.

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.