Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit658eb76

Browse files
committed
Document feature image minimum height variables in _sass/_variables.scss
1 parent15c7112 commit658eb76

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎theme-setup/index.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,13 @@ image:
229229
creditlink:http://mademistakes.com #url to their site or licensing
230230
{% endhighlight %}
231231

232+
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`.
233+
234+
{% highlight sass %}
235+
$feature-image-height: 400px; // min 150px recommended
236+
$front-page-feature-image-height: 400px; // min 150px recommended
237+
{% endhighlight %}
238+
232239
####Post/Page Thumbnails for OG and Twitter Cards
233240

234241
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.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp