mmistakes / jekyll-theme-skinny-bones

A Jekyll starter with a variety of flexible layouts and components.
https://mmistakes.github.io/jekyll-theme-skinny-bones
MIT License
802 stars 907 forks source link

Post Grid Impagination with post limit #54

Closed Xabacadabra closed 8 years ago

Xabacadabra commented 8 years ago

Hi! first of all i would like to thank you for this amazing template! (oh, and sorry for my poor english)

I was trying some stuff with the {% include post-grid.html %} function, and i found out that with the post limit paramater set to 4 the impagination get stuck with a maxium three column layout for row

Example:

{% for post in site.posts limit:4 %} {% include post-grid.html %} {% endfor %}

in the homepage -> http://xabacadabra.github.io/ you'll see that after the third column, the fourth directly start a new line down even if there isn't lack of space

mmistakes commented 8 years ago

Something with the h2.post-title element is causing the tiles below to not fit the container. If you move the h2 that is currently inside of <div class="tiles"></div> outside of it and place it before that div the 4 tiles will fit instead of breaking at the 3rd one.

screen shot 2016-01-03 at 9 08 25 pm

screen shot 2016-01-03 at 9 08 36 pm

Xabacadabra commented 8 years ago

thank you very much!!