Jump to content

Code centres bloglist but screws up spacing. Fix or alternative?

Recommended Posts

Hi, I am using the following code to centre and space the blog list (main page and category posts but it is affecting spacing between rows. Is there better code to use that doesn't create this problem? Thanks

https://renfield-centre.squarespace.com/  PW renfield

 

.BlogList.BlogList--posts-excerpt.sqs-blog-list.clear {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tweak-blog-list-style-grid .BlogList-item {
margin-left: 35px;
}

spacing 1.png

spacing 2.png

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

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

4 hours ago, pelanderson said:

Hi, I am using the following code to centre and space the blog list (main page and category posts but it is affecting spacing between rows. Is there better code to use that doesn't create this problem? Thanks

https://renfield-centre.squarespace.com/  PW renfield

 

.BlogList.BlogList--posts-excerpt.sqs-blog-list.clear {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tweak-blog-list-style-grid .BlogList-item {
margin-left: 35px;
}

spacing 1.png

spacing 2.png

It looks fine now. Have you figured it out?

image.thumb.png.f2f5ded070c5c3d8b81de3e96107f434.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment
14 minutes ago, pelanderson said:

No , still happening if you resize screen smaller.

It looks great on my end with different size of browser

 

image.thumb.png.9bcd4a2ff661b4aa18fefbbf1cd84e10.png

 

image.thumb.png.a164f4bdf027481e7c88b006a34b5443.png

 

image.thumb.png.d39c9eb79a265d5dbd90bb82cf3002b1.png

Can you share at which breakpoint you get this issue?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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.