Jump to content

Custom code to list blog entries as a grid

Recommended Posts

Hello!

I'm currently using the Five template for a blog on 7.0 to get the sidebar feature. However, I would like the blog posts to be organized as a grid, like in the Brine template, but Five only allows for the list display.

I'm not interested in making a separate page and using summary blocks, I'm trying to keep this site as simple as possible and would just like to get my hands on some code that would allow this display mode. The sidebar feature isn't available in 7.1 otherwise I would have upgraded.

Thank you for any help!

Link to comment
  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Can you share your website URL and this page?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Try this to start:

.main-content {
    display: flex;
    gap: 20px;
}
article+article {
    margin-top: 0px;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.