Jump to content

Sections not wrapping on smaller screen sizes?

Go to solution Solved by Ziggy,

Recommended Posts

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

Link to comment
  • Solution

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.

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!

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

 Did I help? Buy me a coffee?

Link to comment
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!

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!

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

 Did I help? Buy me a coffee?

Link to comment

That's actually caused by narrow columns in your footer and a long single word for the email address:

image.png.774379ba34190377b18f09cc8ccc0705.png

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!

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

 Did I help? Buy me a coffee?

Link to comment
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.

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!

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

 Did I help? Buy me a coffee?

Link to comment

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?

Screenshot 2024-06-19 at 12.25.07 PM.png

Link to comment
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?

Screenshot 2024-06-19 at 12.25.07 PM.png

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!)

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.