BYANYOTHERNAME Posted March 9, 2021 Share Posted March 9, 2021 Site URL: https://www.byanyothername.net/ Hi everyone, I was wondering if there was any way to centre align my posts on my blog page? I've managed to do it for my image galleries using this custom CSS: .sqs-block-summary-v2 .summary-item-list { display: flex; flex-wrap: wrap; justify-content: center; } But I need something similar for my blog page. Any help greatly appreciated! Thank you! Beyondspace 1 Link to comment
Solution Beyondspace Posted March 10, 2021 Solution Share Posted March 10, 2021 6 hours ago, BYANYOTHERNAME said: Site URL: https://www.byanyothername.net/ Hi everyone, I was wondering if there was any way to centre align my posts on my blog page? I've managed to do it for my image galleries using this custom CSS: .sqs-block-summary-v2 .summary-item-list { display: flex; flex-wrap: wrap; justify-content: center; } But I need something similar for my blog page. Any help greatly appreciated! Thank you! try .blog-item:last-child:nth-child(4n - 1) { grid-column-end: 0; } .blog-item:nth-last-child(2):nth-child(4n + 1) { grid-column-end: 3; } BYANYOTHERNAME and tuanphan 2 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 pluginIf 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
BYANYOTHERNAME Posted March 16, 2021 Author Share Posted March 16, 2021 On 3/10/2021 at 1:24 AM, bangank36 said: try .blog-item:last-child:nth-child(4n - 1) { grid-column-end: 0; } .blog-item:nth-last-child(2):nth-child(4n + 1) { grid-column-end: 3; } This worked perfect! Thank you so much! Link to comment
pelanderson Posted February 17 Share Posted February 17 On 3/10/2021 at 1:24 AM, Beyondspace said: try .blog-item:last-child:nth-child(4n - 1) { grid-column-end: 0; } .blog-item:nth-last-child(2):nth-child(4n + 1) { grid-column-end: 3; } Hi there @Beyondspace I tried the above on my site with no success. Could you take a look? Many thanks, Pete https://renfield-centre.squarespace.com/rooms PW renfield Link to comment
Beyondspace Posted February 20 Share Posted February 20 I check that it works properly now Do you still need help? 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 pluginIf 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment