gridsome / gridsome-starter-blog

A simple, hackable & minimalistic starter for Gridsome that uses Markdown for content.
https://gridsome-starter-blog.netlify.com/
387 stars 203 forks source link

templating #16

Open GerhardMes opened 5 years ago

GerhardMes commented 5 years ago

hi there,

just launched the starter and everything works fine. But I get stuck trying to change the layout. I would like to fix the Card height and on a big screen would like to have the post listing in 2 columns. I have tried, but somehow I can't get it right. Any advice? Thanks

Dana94 commented 5 years ago

For showing the posts in a 2 column format, I would try using CSS grid on the posts div.

.posts {
    display: grid;
    grid-template-columns:  auto auto;
}