カテゴリ・タグ見出し帯の幅を変更


カテゴリ・タグ見出し帯の幅を変更

WordPressでは、投稿ページヘッダ部分のカテゴリ・タグ見出し帯がやや広めに設定されているので、よりすっきりした見栄えになるよう幅を狭く設定変更した際の履歴を、備忘録として投稿します。

  • Lightning(Generation3)・スキン(Origin3)
  • ExUnit ⇒ CSSカスタマイズ
    (以下コードを追記)

/* 投稿ページタイトルのスタイル */
div.page-header{
height:37px;
min-height: 0.5rem;
}
div.page-header_pageTitle{
margin:1px 0;
font-size:17px;
height:37px;
color:#fff;
text-align:left;
}
/* タグ&カテゴリページタイトルのスタイル */
div.page-header{
line-height:4px;
margin-top: 0;
margin-bottom: 0;
padding-bottom: 0;
min-height: 0.5rem;
}
.page-header-title, h1.page-header-title{
margin:1px 0;
font-size:17px;
line-height:3px;
color:#fff;
text-align:left;
}


デフォルト

修正後