Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Ptphotography

Set column number for one page

Question

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! 

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 1

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>

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
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>

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...