Jump to content

Mobile Product showing in 2 columns

Go to solution Solved by paul2009,

Recommended Posts

Posted

@Essentialsbymhd You can try adding this code snippet under Custom CSS panel:

@media only screen and (max-width: 767px) {
	.products.collection-content-wrapper .list-grid {
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
	}
	.products .grid-item {
		width: 100% !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?

Posted (edited)

@Essentialsbymhd What's the URL of this page? I'm seeing products are now displaying in two column on mobile. Please check on your browser or reload your Squarespace editor. 

Edited by Lesum

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?

Posted

You are right! its actually working on my phone as well. Not sure why its showing like that on my edit page. But as long as it works! Thank you so much! btw another quick question. is there a way to apply search bar to product pages without having to add it manually into each one? for now I have it in the footer as that would apply to all. 

  • Solution
Posted
On 9/9/2023 at 6:14 PM, Essentialsbymhd said:

I'm trying to make the product list on the mobile split into two columns instead of one. I'll tried code I see online but it doesn't work.

You no longer need code to achieve this because Squarespace have just added this as a feature to Squarespace 7.1.

@Essentialsbymhd If you've used code to add two columns, it will be safer to remove this and use the built-in feature instead.

To access this feature, go to your Store page and click Edit

Put the preview into Mobile View and then click Edit Section. You’ll be able to update your column layout to two columns instead of one.

image.thumb.png.07e538bb46348cf10872b131af948462.png

Note that this setting only affects the style of the mobile page. You can independently adjust the number of columns in the desktop layout by putting the preview into Desktop View

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

  • 2 weeks later...
Posted

Anyone know why all of a sudden my products on mobile are stuck inset? Even if I toggle to FULL it does nothing. So frustrating! This just happened one day and no matter if I do 1 column or 2 it will not project them as full size in the screen. As you can see in the single column example the products are aligned to the left....

I am thinking there was an update to mobile format and this is a bug!?

mobile2.PNG

Mobile1.PNG

Posted
12 hours ago, Shyla said:

Anyone know why all of a sudden my products on mobile are stuck inset? Even if I toggle to FULL it does nothing. So frustrating! This just happened one day

Squarespace 7.1 didn't have a 2-column option until recently, so it looks like you may have added some Custom CSS to display the Store page using two columns. They've just added this feature and, in doing so, they changed the way the page was built and this will have 'broken' the outdated CSS and caused unwanted effects like this. You should be able to resolve this by removing the outdated CSS and then using the built-in setting to choose the number of columns.

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted (edited)

Hi! A long while ago, I found code to make it so my products would appear in two columns instead of just one on mobile. For some reason, the product page is now displaying them still in two columns— just completely bypassing the second column. I haven't made any conscious changes to the code, so I have no clue what happened. Any help for this fix would be greatly appreciated.

 

image.thumb.png.ee1a1bb97ee1cf46a91971e31a6607b6.png

Edited by cloudhymns
Switch "rows" to "columns" in title.
  • cloudhymns changed the title to What Happened to My Two Columns of Products on Mobile?
Posted

LOL Thank you for reminding me I had custom CSS installed for this to function prior to the standard version offering this. I have it all fixed now 🙂

Posted
On 9/25/2023 at 11:30 AM, cloudhymns said:

Hi! A long while ago, I found code to make it so my products would appear in two columns instead of just one on mobile. For some reason, the product page is now displaying them still in two columns— just completely bypassing the second column. I haven't made any conscious changes to the code, so I have no clue what happened. Any help for this fix would be greatly appreciated.

 

image.thumb.png.ee1a1bb97ee1cf46a91971e31a6607b6.png

Just get rid of the custom CSS, they have made the 2 column layout a standard feature now when you edit the section. 

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.