mbockmaster Posted June 19 Posted June 19 Hello! I'm using text blocks with backgrounds to make pricing cards, but they are not wrapping on smaller screen sizes and it's causing a horizontal scroll. I've used grids to align and style the content of each card, but it doesn't appear to be causing the issue. I can't figure out what else could be the culprit. https://halibut-oarfish-rfwf.squarespace.com/pricing pw: goodformepilates Screen Recording 2024-06-19 at 11.29.42 AM.mov
Solution Ziggy Posted June 19 Solution Posted June 19 This is a major problem with Squarespace's grid editor. When you set the column gap to the maximum 50px is breaks the view on smaller screens. This is because you have 26 columns with a 50px spacing, meaning that the content will always be 1300px and on a screen of 800px you can see why you have an overflow of 500px. The maximum I recommend for this value is 29px (768/26) (the minimum desktop screen size divided by the number of columns) In the real world, 24px for the column gap is a good safe maximum as this allows for the 25th and 26th columns which are determined by the page margin. mbockmaster 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
mbockmaster Posted June 19 Author Posted June 19 @Ziggy, thank you SO much! I have been stripping out CSS for hours trying to figure out the problem, and updating the column gap to 29 just solved everything! So grateful for your help!!! Ziggy 1
Ziggy Posted June 19 Posted June 19 1 minute ago, mbockmaster said: I have been stripping out CSS for hours trying to figure out the problem, and updating the column gap to 29 just solved everything! So grateful for your help!!! I've been trying to get this issue resolved for some time! If you can mark my post as the solution and give it a like that might help a little! mbockmaster 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
mbockmaster Posted June 19 Author Posted June 19 Just noticing that I've got some empty space to the right..Is this caused by the columns too?
Ziggy Posted June 19 Posted June 19 That's actually caused by narrow columns in your footer and a long single word for the email address: mbockmaster 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
mbockmaster Posted June 19 Author Posted June 19 Ahhhhh thank you SO much!!!!! Seriously! I've been agonizing over this for days Ziggy 1
Ziggy Posted June 19 Posted June 19 Just now, mbockmaster said: Ahhhhh thank you SO much!!!!! Seriously! I've been agonizing over this for days Very happy to have solved this conundrum for you! Now I just need to solve it for everyone else! Setting a maximum column gap of (100vw - (2*--site-margin)) / 24 would do it. mbockmaster 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
mbockmaster Posted June 19 Author Posted June 19 Do you have a preferred way to widen the gaps between elements? A lot of my site sections will need space between elements. My instinct would be to target the blocks and give them a width of 90% and an auto left and right margin, but is there a better way (especially for the client once the site gets handed off) that won't be impacted by the column gap issue in Squarespace?
tuanphan Posted June 21 Posted June 21 On 6/19/2024 at 11:29 PM, mbockmaster said: Do you have a preferred way to widen the gaps between elements? A lot of my site sections will need space between elements. My instinct would be to target the blocks and give them a width of 90% and an auto left and right margin, but is there a better way (especially for the client once the site gets handed off) that won't be impacted by the column gap issue in Squarespace? With layout like this screenshot, you can consider using Gallery Block, List Section, Summary Block, so you can adjust gap easier. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment