Q.トップページ記事一覧のサムネイルが小さいのでもう少し大きく表示したい
記事一覧のサムネイル画像が正方形(130px角)で構成されていますが、あまり目立たないのでサイズを変更することは可能でしょうか。
A.下記のcssファイルの該当箇所を編集します
編集するファイル:style.css
編集する箇所:
/* 記事一覧 */ .post_list .image { background:#000; width:130px; height:130px; display:block; float:left; } .post_list .image img { width:130px; height:130px; opacity:1.0; -webkit-transition: opacity 400ms ease-in-out; -moz-transition: opacity 400ms ease-in-out; -o-transition: opacity 400ms ease-in-out; -ms-transition: opacity 400ms ease-in-out; transition: opacity 400ms ease-in-out; } .post_list .image:hover img { opacity:0.5; } .post_list .post_info { float:right; width:630px; }
※[.post_list .image]、[.post_list .image img]内のwidth:130px; height:130px;を任意のサイズにご変更ください。
サイズを大きくすると回り込みが崩れますので、.post_list .post_info { float:right; width:630px; }のwidthも適宜ご変更ください。
この記事は役に立ちましたか?
もし参考になりましたら、下のボタンで教えてください。
今後の記事作成の参考とさせて頂きます!