Raindrops 1.471がライブになりました

 

Raindrops 1.471 更新概要

今回の変更は、「予告:Raindrops1.471ヘッダー画像の自動トリミング – WordPress Theme Raindrops」です。

Raindropsテーマは、従来より添付ファイルやアイキャッチ画像をヘッダー画像としてセットすることを投稿の編集画面で行うことが出来ましたが、画像の縦横比によっては、ブラウザサイズよりもヘッダー画像が大きくなってしまい。使いづらい面がありました。今回の変更で縦位置画像をセットしたような場合でも、ブラウザのウィンドウサイズにフィットして表示することが出来るようになりましたので、かなり使いやすいものになると思います。

カスタマイズ/外観/レイアウトとサイドバーで、750px 950px 974pxを選択した場合のグリッド概要文レイアウトの調整を行いました

カスタマイズ/外観/ウィジェットのセクションラベルを、Custom Post Type Helperに変更しました

style.cssでベンダープレフィックスのクリーニングを行いました

version: 1.471 Overview of Changes

Modified Style of Grid excerpt for Document width 750px centered, 950px centered, 974px

Modified Style of Grid excerpt for sticky post

Changed Customize section label text from Customize / Presentation / Widget to from Customize / Presentation / Custom Post Type Helper

Modified Header Image when Customize / Presentation / Layout and Sidebar value ‘ Full Width Responsive’ ( default )

We set an upper limit so that the header image fits in the browser window size

For example, when a portrait image is set as a header image

Custom header-image height

Add functions.php first

add_filter('raindrops_header_image_ratio','custom_raindrops_header_image_ratio');

function custom_raindrops_header_image_ratio($ratio){
    $ratio = 0.3 // Ratio calculation is based on image height / image width
    return $ratio;
}

Modified style.css bender prefix cleaning


コメントは受け付けていません。