Jump to content

How can I decrease product image size on custom single column product page layout

Recommended Posts

Posted

I have successfully input code to change product page to a single column (rather than the standard minimum two) but the product images are filling to the edge of the page/inset margin. I would like to decrease the size of the image. 

bethiewilliams.art

Password: Bethie2023

 

Thank you in advance!

  • Replies 2
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

Try this Custom CSS:

.products.collection-content-wrapper .products-flex-container {
    max-width: 600px;
    margin: auto;
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted

Thank you! This worked to increase the margins on either side like I was hoping, but unfortunately now the previous piece of code to override the settings and allow just one column isn't working. 

 

This was what I was using. 

@media screen and (min-width:768px) {
.products.collection-content-wrapper .list-grid {
    grid-template-columns: repeat(1,minmax(0,1fr)) !important;
}
}

Is there a way to make them work together?

 

Thank you!

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.