[WP]Twentyelevenカスタマイズ・タグの変更

197 views
2017/05/30 2017/06/25

追記CSSにて。

タイトル、hの変更

h1 デフォルト

h1 class=”page-title” ページ上部に使われてる

h2 デフォルト

h3 デフォルトに下線つき

h4 新規

h5 新規
h6 デフォルト(考え中)

タイトルには下線をつけました。
h1~h3はどこかで使われてそうだったのであまり変えてません。

.entry-title,
.singular .entry-title {
	color: #000;
	font-size: 26px;
	line-height: 30px;
	border-bottom: 2px dotted #555;}
h3 {
color: #6594e0;
border-bottom: dashed 1px #6594e0;
}
h4{
    color: #fff;
    font-size: 16px;
    line-height: 1.6em;
    padding: 0 0 2px 12px;
	background: #555555;
	margin:0 5px
}
h5{
    color: #444;
    font-size: 15px;
    line-height: 1.6em;
    padding: 0 0 2px 12px;
    border-left: 4px solid #444;
    border-bottom: 1px solid #888;
	margin:5px
}
マウスオーバーで画像リンクを半透明に
a:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

参考:Twenty Elevenの記事タイトルを装飾 | Salty WordPress