Essentialsbymhd Posted September 9, 2023 Posted September 9, 2023 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. Please help me. thank you
Lesum Posted September 9, 2023 Posted September 9, 2023 @Essentialsbymhd Would it be possible to share your site URL so I can take a look? Thanks! 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?
Essentialsbymhd Posted September 9, 2023 Author Posted September 9, 2023 https://www.essentialsbymhd.com/
Lesum Posted September 9, 2023 Posted September 9, 2023 @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?
Lesum Posted September 9, 2023 Posted September 9, 2023 (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 September 9, 2023 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?
Essentialsbymhd Posted September 9, 2023 Author Posted September 9, 2023 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. Lesum 1
Lesum Posted September 9, 2023 Posted September 9, 2023 @Essentialsbymhd Unfortunately, it's not possible with Squarespace's native functionality. As of now, we can only add search bar manually on product pages. 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?
Solution paul2009 Posted September 15, 2023 Solution Posted September 15, 2023 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. 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.
Shyla Posted September 24, 2023 Posted September 24, 2023 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!?
paul2009 Posted September 25, 2023 Posted September 25, 2023 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 ⬇️ Shyla 1 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.
cloudhymns Posted September 25, 2023 Posted September 25, 2023 (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. Edited September 25, 2023 by cloudhymns Switch "rows" to "columns" in title.
Shyla Posted September 27, 2023 Posted September 27, 2023 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 🙂
Shyla Posted September 27, 2023 Posted September 27, 2023 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. Just get rid of the custom CSS, they have made the 2 column layout a standard feature now when you edit the section.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment