Jump to content

SHOP in mobile only 1 image wide

Recommended Posts

Hello, I recently opened a webshop with Squarespace. I'm really happy with how it looks in the browser. But I can't seem to get the mobile version right. I would like to have 2 rows of products on mobile instead of a long list of products you need to scroll down through. How could i make this possible? Thank you in advance :)

image.thumb.png.4e5f803d864bf060c14174cee27b8b15.pngimage.thumb.png.b4841cbc8e4a420a78855c5f326c8f14.png

Link to comment
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

24 minutes ago, hellovonnie said:

How could i make this possible?

This is achievable with some Custom CSS, can you share your website URL so I can give you the correct code?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Try this code in Custom CSS:

@media screen and (max-width:767px) {
  .products .list-grid {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
  }
  .products .grid-item { 
    width: 47%;
  }
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
On 5/6/2023 at 9:08 AM, Ziggy said:

Try this code in Custom CSS:

@media screen and (max-width:767px) {
  .products .list-grid {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
  }
  .products .grid-item { 
    width: 47%;
  }
}

It worked! Thank you so much! Still have this weird grey scrollbar on top: do you know how to get rid of that? 

image.thumb.png.26d3d8e1e3a48db3d37e0f6f46a1bc91.png

 

Link to comment
20 hours ago, hellovonnie said:

Still have this weird grey scrollbar on top: do you know how to get rid of that? 

Try changing the 47% to 45%.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
  • 4 months later...

@jesleacreative You can add this code snippet under Custom CSS panel. If you don't see the changes reflected immediately, please try refreshing your browser or checking your live site.

@media only screen and (max-width: 767px) {
	.products.collection-content-wrapper .list-grid {
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.