diff options
author | Michael Rose <est.michael@gmail.com> | 2015-12-27 06:49:22 +0300 |
---|---|---|
committer | Michael Rose <est.michael@gmail.com> | 2015-12-27 06:49:22 +0300 |
commit | 485ee4451231d31914da1cb784d88f89ef41d085 (patch) | |
tree | 8a305fd1a489a3334e7a2b3acd1131838ea35eac | |
parent | aa486b80fff4be47c73408fc42e99da9a745a045 (diff) |
Document feature image minimum height variables in _sass/_variables.scss
-rw-r--r-- | theme-setup/index.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/theme-setup/index.md b/theme-setup/index.md index c287369..9d0c1be 100644 --- a/theme-setup/index.md +++ b/theme-setup/index.md @@ -229,6 +229,13 @@ image: creditlink: http://mademistakes.com #url to their site or licensing {% endhighlight %} +By default the `<div>` containing feature images is set to have a minimum height of 400px with CSS. Anything taller is hidden with an `overflow: hidden` declaration. You can customize the height of the homepage feature image and those appearing on posts/pages by modifying the following variables in `/_sass/_variables.scss`. + +{% highlight sass %} +$feature-image-height: 400px; // min 150px recommended +$front-page-feature-image-height: 400px; // min 150px recommended +{% endhighlight %} + #### Post/Page Thumbnails for OG and Twitter Cards Post and page thumbnails work the same way. These are used by [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) meta tags found in `head.html`. If you don't assign a thumbnail the image you assigned to `site.owner.avatar` in `_config.yml` will be used. |