Jump to content

Preventing a sidebar of blocks from resizing too small

Go to solution Solved by Ziggy,

Recommended Posts

Posted

Hoping someone else has solved this or has an easy fix. 

See attached file for situation. I have a sort of "sidebar" with some information and it contains four text blocks in a 2x2 configuration.

  • Year
  • Year value
  • Role
  • Role value

At desktop full width and mobile width, it looks great.  But those in-between breakpoints are the problem where the words "Year" and "Role" break up into two lines.  

How can I ensure these text blocks stay at a width that displays the H3s and paragraphs copy properly?

A couple notes on finding the solution.

  • Squarespace doesn't put these text blocks in a single div, so I can't target that with something like a min-width CSS.
  • I tried setting just the "Year" div to a min-width and that works in maintaining the word Year displayed properly, but then the adjacent Year value starts running into the Year text box.  Do I really just need to give the Year and Year value text boxes min-width values in pixels? Figured there's a more elegant solution.

 

Screenshot 2023-08-10 at 8.58.12 PM.png

  • Solution
Posted

Tricky issue, when you make a text block that small it's always going to cause problems on tablet view.

You could make it more robust by making those little text blocks larger and aligning the text within them right like this:

image.thumb.png.1d8000e0ad0cf9346ba1d435219b0939.png

There are also sidebar plugins that might be useful, or alternatively you could find a way to put all of this info into one text block (I realise this won't align quite as well), or you could use a code block and write this in HTML.

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?

Posted

Thanks, Ziggy.  

I guess I missed what's probably the simplest solution: just making those two text boxes two columns wide rather than just one. 

Still kinda wish Squarespace had more fine turning on things like which sections/areas/blocks to resize and how, but I realize that's probably beyond the keeping-it-simple scope of this platform. 

 

Posted
On 8/12/2023 at 5:13 AM, Charles26 said:

Still kinda wish Squarespace had more fine turning on things like which sections/areas/blocks to resize and how, but I realize that's probably beyond the keeping-it-simple scope of this platform. 

The added complexity of those controls would for most people render them much worse than not having them, the more complexity you have the more ways there are to break them. 

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?

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.