Jump to content

Set column number for one page

Recommended Posts

Hello everyone,

Can anyone please help me change the column number for one page? At the moment, ALL my product pages are set to 4, but I want just one page to display 3 products/images. 

https://www.ptphotography.com/harcover-books

u.thumb.jpg.e4b560eb98a593f3b8ac6543450ce378.jpg

The problem is if I don't set the column numbers to 3, to fill the space that is supposed to be taken by the fourth product (product 4), the 3 products(pictures) looks like they are aligned to the left. 

Thank you in advance! 

Link to comment

Add to Hardcover books page settings > Advanced > Header

<style>
  @media screen and (min-width:768px) {
  .list-grid {
    grid-template-columns: repeat(3,minmax(0,1fr)) !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 7/29/2020 at 5:52 PM, Ptphotography said:

@tuanphan I have an addional favour, how do I change the aspect ratio of the products to square? Thank you!

Add to Page SEttings > Advanced > Header

<style>
  .grid-image-wrapper.has-hover-img {
    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

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.