-
Notifications
You must be signed in to change notification settings - Fork 25.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grid view staggered start? Config problem? #998
Comments
The grid view was designed to be used in the "related posts" module so it's not exactly portable to putting on the homepage or other layouts without some alteration. Depending on how familiar/comfortable with CSS this could be easy or hard to fix. Check these previous issues as others have tried to do the same thing with varying success. |
Ok, thanks. I once knew some CSS ... I'll see if I can work out what bits apply where, and if I get a solution, I'll post it back here... but it might take a while ... Meanwhile, I'll remove the google drive directory. |
Ah, already, in archive-taxonomy we improve things by
Still haven't worked out how to get a header image in there ... |
(I'll ask the header image in another issue ... I have done some tracking down for that) ... oh no I won't, this is covered in #832! |
Images pull from a post/page YAML that is set like this: header:
teaser: path-to-image.jpg If one isn't set it fallsback to |
I'm after |
At this point I think I've solved the grid problem (wrapping with right grid is the key part) and I've solved my header image issue by simply crafting my own version of archive-taxonomy with the right headers in it. Yes it was a hack, but it works. |
bundle update
.bundle exec jekyll build
.Environment informations
I'm using a copy of M-M which was downloaded from github in the last couple of days (4.4.1)
I'm running on linux using ruby 2.4.1p111
(I tried the gem version but couldn't get it to work ... I'm a complete newbie to ruby, gems, and jekyll.)
Expected behavior
I am trying to use the grid view on my home page (and everywhere there is a list of posts).
Steps to reproduce the behavior
I have enabled type="grid" in a number of places, in particular on the home page, where the first three cells are empty, before filling the fourth (on the first row) and then all subsequent rows have all four cells (tried with different numbers per pagination, all do the same thing). Similar problem on individual tags and category pages, except just the first cell is empty (and I can't work out how to get the header image onto those pages).
Steps:
The files are viewable I hope on a google drive directory here: https://goo.gl/Fsb0PR
A screenshot of the problem is here (using content from 2004, without the right post titles):
The text was updated successfully, but these errors were encountered: