Jump to content

Blocks in a row won't get smaller to fit?

Recommended Posts

Site URL: https://www.apertureconsultinggroup.com/home

I added some background card styling to my footer in Brine, and it looks correct except the columns within the row won't squash down (get narrower) to all fit on one row. Even when my browser window is huge, the blocks just get bigger and the third item remains on the next row.

I did this before and it worked fine, but I didn't keep that version of the code 😩 

Any advice?

Current css for the cards:

#footerBlocksTop > div > div > div.row.sqs-row > div:nth-child(1), #footerBlocksTop > div > div > div.row.sqs-row > div:nth-child(2), #footerBlocksTop > div > div > div.row.sqs-row > div:nth-child(3) {
  background-color: #fff;
  border-radius: 8px;
  margin: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 30px;
  padding-left: 30px;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.15);
}

Screenshot of the issue:

image.thumb.png.018020bad30faff1904122940c57f5d6.png

Link to comment
3 hours ago, KaijuCorgi said:

Site URL: https://www.apertureconsultinggroup.com/home

I added some background card styling to my footer in Brine, and it looks correct except the columns within the row won't squash down (get narrower) to all fit on one row. Even when my browser window is huge, the blocks just get bigger and the third item remains on the next row.

I did this before and it worked fine, but I didn't keep that version of the code 😩 

Any advice?

Current css for the cards:

#footerBlocksTop > div > div > div.row.sqs-row > div:nth-child(1), #footerBlocksTop > div > div > div.row.sqs-row > div:nth-child(2), #footerBlocksTop > div > div > div.row.sqs-row > div:nth-child(3) {
  background-color: #fff;
  border-radius: 8px;
  margin: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 30px;
  padding-left: 30px;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.15);
}

Screenshot of the issue:

image.thumb.png.018020bad30faff1904122940c57f5d6.png

Try adding to Home > Design > Custom Css

#block-yui_3_17_2_1_1649279454057_8567 + .row {
  display: flex;
}

Let me know how it works on your site

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.eb40a82cf19ba2a2a7d6ddcc7034ba05.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.