Jump to content

Set minimum width to switch to mobile layout (CSS)

Go to solution Solved by tuanphan,

Recommended Posts


I am building my site with three nearly equal sized columns: a logo, a photo, and a text block. It looks perfect in desktop view, and in mobile view, where the text block moves under the logo and photo. However, I am having a lot of trouble finding the right CSS solution to help define what happens between these sizes. The responsive design causes the text block to become long and skinny before stacking. Is there any code that can help me force the behavior once a minimum desktop size is reached (for example, on smaller computer monitors)?

Link to comment
  • Replies 4
  • Views 627
  • Created
  • Last Reply

Top Posters In This Topic


I just published at temporary URL flugelhorn-opossum-4ese.squarespace.com

Basically, I like the desktop layout of three almost-equal columns of logo, photo, text box, but as soon as the window gets smaller, the logo and photo shrink and the text box becomes tall and skinny. Instead, I'd love for it to have room to shrink a bit and then force it into the stacked mobile layout earlier, so we can avoid layouts like the attached screenshot.

Screen Shot 2023-05-01 at 9.09.54 AM.png

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.