Jump to content

Number of columns on mobile view

Recommended Posts

Site URL: https://suzanneseedsilversmith.co.uk/shop

https://suzanneseedsilversmith.co.uk/shop

I'm on the Avenue template on v7 and would like my shop pages to display 2 columns of items on mobile view. I have it set to show 3 on desktop and tablet but this reduces down to 1 on mobile. Previous code I have found gave me 2 columns of images but did not also apply to the product title and price. 

Any help would be greatly appreciated! Thank you! 

Link to comment
1 hour ago, stewartrenee said:

Site URL: https://suzanneseedsilversmith.co.uk/shop

https://suzanneseedsilversmith.co.uk/shop

I'm on the Avenue template on v7 and would like my shop pages to display 2 columns of items on mobile view. I have it set to show 3 on desktop and tablet but this reduces down to 1 on mobile. Previous code I have found gave me 2 columns of images but did not also apply to the product title and price. 

Any help would be greatly appreciated! Thank you! 

Add to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #productList {
    display: flex;
    flex-wrap: wrap;
  }
  #productList > a {
    flex: 45%;
    margin: 5px !important;
  }
}

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 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

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.