word pressで投稿や固定ページのタイトルにh3タグをつけデザインを変えたいです。
しかし、一部が反映されません
グーグルで検索し
・キャッシュの問題ではない
・子テーマも有効化している
です
CSS
1.site-header { 2 margin-left:0; 3 padding:0; 4} 5.main-navigation { 6 margin-top: 0; 7 margin-top: 0rem; 8 text-align: center; 9}
などは反映されていますが、
投稿ページのh3タグのcss
CSS
1.entry-content h3 { 2border-left: 5px solid #1F5E73; 3padding: 0 0 0 15px !important; 4line-height: 2; 5font-size: 18px; 6background-color: #000;}
などが反映されません。
コードは間違ってないと思います。
初心者ですので、どうかご回答よろしくお願い致します。
サイトURL
http://rehabusiness.com/
使用テーマ
Twenty twelve
子テーマは
PHP
1<?php 2add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); 3function enqueue_parent_theme_style() { 4wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); 5}
で読み込んでいます
回答1件
あなたの回答
tips
プレビュー