Archived topic
Posts in a grid layout with separate containers
5 replies · Started by Mark on March 30, 2022
Hi,
Is it possible to create a grid layout of posts on the homepage (not a blog page), similar to this:
Using GeneratePress? or will it require additional plugins?
The main thing we need is even layouts, with each post in their own container.
Thanks in advance!
Hi there,
depends :)
What else is on the homepage ?
Well at the moment I have your usual hero area at the top, then want to display the posts like this underneath if that's possible at all.
if the Home Page is set to display the Latest Posts then yeah. And you're using a Block Element to add the hero then yes.
1. Customizer > Layout > Blog to set the Columns.
2. Use a Block Element - Content Template to design the individul post template:
https://docs.generatepress.com/article/block-element-content-template/
I see, thanks for the info. At the moment I'm using a static front page, we wanted to pull in the the latest few posts from various categories and display them in this way. is there a way to achieve this if we're not using the homepage to display blog posts.
Hi Mark,
You can use the Query Loop block.
GP is also developing our own query loop block, you are more than welcome to try it out when it's released.