Jump to content

Items per row on store page

Recommended Posts

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

Top Posters In This Topic

On 5/16/2020 at 3:07 PM, tuanphan said:

Above link doesnot exist

Sorry - I just edited it (payment is singular). I changed the store to just have two items for now, but I'm still interested in knowing how to fix this. At the very least I'd like to make the images smaller so you can see the item name on the page.

Edited by ClaudineM
Link to comment
8 hours ago, ClaudineM said:

Sorry - I just edited it (payment is singular). I changed the store to just have two items for now, but I'm still interested in knowing how to fix this. At the very least I'd like to make the images smaller so you can see the item name on the page.

Add to Home > Design > Custom CSS

@media screen and (max-width:767px) {
.products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 weeks later...
On 5/18/2020 at 4:15 AM, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:767px) {
.products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}
}

 

I tried that and nothing changed. I added two test items without images attached to see whether the item width would only change with more items available to be displayed. 

 

Any ideas?

Link to comment
  • 4 months later...
On 5/18/2020 at 2:15 AM, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:767px) {
.products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}
}

 

Hey Tuanphan! I tried this as well with no luck. Do you know what the problem might be?

 

Thanks!

Link to comment
On 5/18/2020 at 2:15 AM, tuanphan said:

Add to Home > Design > Custom CSS


@media screen and (max-width:767px) {
.products.collection-content-wrapper .list-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}
}

 

Hey tuanphan, I am having the same issue where this bumps my products over to the left. rarther than creating four products per row. Do you know the solution?

Thanks!

Link to comment
11 hours ago, mccallkeller said:

Hey tuanphan, I am having the same issue where this bumps my products over to the left. rarther than creating four products per row. Do you know the solution?

Thanks!

Can you share link to store page? We can check easier.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 7 months later...

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.