Q.サイドバーの色、背景色をしたい
A.下記のcssファイルの該当箇所を編集します
編集するファイル:PC表示は「style_pc.css」、スマホ表示は「style_sp.css」のカスタマイズが必要となります。
※テーマによっては「style.css」に記述されている場合もあります。
編集する箇所:
下記のbackground:#●●●; color:#●●●;を任意のカラーコードをご設定ください。
■「style_pc.css」「style_sp.css」共通の変更箇所
.headline_base2 { font-size:16px; background:#333; color:#eee; padding:0 15px; height:40px; line-height:40px; margin:0 0 25px 0; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; box-shadow:0px 0px 3px 0px #aaa; }
/* post meta */ #single_post .meta { font-size:11px; background:#333; color:#eee; padding:10px 15px; margin:0 0 25px 0; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; box-shadow:0px 0px 3px 0px #aaa; }
■「style_pc.css」の変更箇所
.side_headline { font-size:12px; background:#333; color:#eee; padding:0 15px 0 0; margin:0 0 15px 0; -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; box-shadow:0px 0px 3px 0px #aaa; line-height:38px; height:38px; }
■「style_sp.css」の変更箇所
.side_headline { font-size:12px; background:#333; color:#eee; padding:0 15px 0 0; margin:0 -10px 20px -10px; -webkit-border-radius:5px 5px 0 0; -moz-border-radius:5px 5px 0 0; border-radius:5px 5px 0 0; line-height:38px; height:38px; }
この記事は役に立ちましたか?
もし参考になりましたら、下のボタンで教えてください。
今後の記事作成の参考とさせて頂きます!