Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

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


KaijuCorgi

Question

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
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
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 BaNgan from 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, Youtube Gallery for Squarespace
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
  • 0

My testing

image.thumb.png.eb40a82cf19ba2a2a7d6ddcc7034ba05.png

Greeting, it's BaNgan from 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, Youtube Gallery for Squarespace
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
  • 0

Thank you so much @bangank36! I haven't been able to try this because I'm having login issues for this site, but I'm confidant that it'll work. I just wanted to let you know I saw this and I really appreciate it! I'll post again when I actually implement the code 🙂

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...