-
Notifications
You must be signed in to change notification settings - Fork 867
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
Resize post image (like footer / header) #50
Comments
Seconded. I was actually thinking of just substituting the post banner image using a media query, but it doesn't appear possible (or at least easy) with the yaml front matter. any solutions are welcome. |
Ok, I figured it out. Turns out it is possible to add custom yaml front matter items. Hooray! Here's what I did: In
In your
Finally, in
Of course, make sure that you've saved your mobile banner image and it's in the proper filepath. Happy responsive coding ;) |
I added your solution to the master branch in pull request #56. Thanks! |
I am trying to figure out if it would be possible to dynamically resize the main image displayed with the post just like the header and footer.
When a window size is reduced or if the viewing environment is mobile, the theme correctly resizes the footer (default image: typewriter) but the main image associated with the post is cropped.
The text was updated successfully, but these errors were encountered: