Archived topic
Grid Container Sizing Issue
3 replies · Started by Sam on January 8, 2023
Hi,
I have just purchased GeneratePress premium and I'm currently testing it's capabilities for creating a static home page.
I've been trying to create a popular posts section using a grid with containers and query loops, and then getting the featured image and post title to display. I've managed to do this but the problem is that the containers are showing up as different sizes and I can't figure out how to set specific dimensions for the containers so that they all show as the same size.
Is there a way to do this? Currently this page isn't live on the website so I have provided a temporary login for you to take a look at what I mean. The issue can be found under pages and on the page 'Generate Press Test'.
Thanks!
Hi there,
i took the liberty of adding a block to that draft page.
Its a single Query Loop block that i set the parameters to Include those 3 posts.
Points to Note:
The Grid Block inside is where i set the Horizontal and vertical gap. And i made sure the vertical alignment was set to default.
The Post Template block is where the Width is set to 33% to form a 3 column grid.
And i gave it some Spacing > Padding and set a Minimum height.
You can edit any single post in that query loop, and all other posts in the loop will reflect those changes.
Take a look - let me know.
That's perfect - thank you for your help!
You're welcome