Jump to content

How organize products in rows of 2 on mobile site?

Recommended Posts

How to change the mobile layout of a "store" page? How would I go about doing that? Instead of my items be stacked one by one, I need them to be in rows of 2.As pictured in the second picture.

1st pic of my current layout.

2nd pic is how i want it.

how do i do it? 

Please Help. i tired youtube but didn't have any luck 

Screen Shot 2020-06-17 at 6.42.43 PM.png

IMG_0575.PNG

Link to comment
  • Replies 8
  • Views 1.6k
  • Created
  • Last Reply

Hi there, please check this snippet, you can add it into Settings-> Custom Css

@media screen and (min-width: 768px) {
    .products.collection-content-wrapper .list-grid .grid-item {
        width: 100%;
    }
}

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

image.thumb.png.d7b120080054e9ed6f6e2dc22592d6c7.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
6 minutes ago, IceWater951 said:

where do i find "custom css"

From settings screen, go to design 

image.png.2b41c639b31dbb6fda24b1948b1e1fe7.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • 2 months later...
  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.