質問編集履歴
1
記載URL、使用WordPressテーマのリンク追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
###前提
|
2
|
-
- WordPressのwriteeというテーマを使用しております。
|
2
|
+
- WordPressの[writee](https://ja.wordpress.org/themes/writee/)というテーマを使用しております。
|
3
3
|
- 子テーマでCSS設定しても部分的に反映されないスタイルがあります。
|
4
4
|
- ソースを確認したところ「親スタイル→子スタイル→親スタイル→その他のスタイル」のような順でCSSが当たっていることがわかりました。
|
5
5
|
|
@@ -10,10 +10,10 @@
|
|
10
10
|
ソースのCSS書き出し順は以下のような感じです。
|
11
11
|
|
12
12
|
```
|
13
|
-
<link rel='stylesheet' id='parent-style-css' href='http://
|
13
|
+
<link rel='stylesheet' id='parent-style-css' href='http://example.com/wp/wp-content/themes/writee/assets/css/style-ltr.css?ver=4.8.1' type='text/css' media='all' />
|
14
|
-
<link rel='stylesheet' id='child-style-css' href='http://
|
14
|
+
<link rel='stylesheet' id='child-style-css' href='http://example.com/wp/wp-content/themes/writee-child/assets/css/style-ltr.css?ver=4.8.1' type='text/css' media='all' />
|
15
|
-
<link rel='stylesheet' id='WRT-style-css' href='http://
|
15
|
+
<link rel='stylesheet' id='WRT-style-css' href='http://example.com/wp/wp-content/themes/writee/style.css?ver=4.8.1' type='text/css' media='all' />
|
16
|
-
<link rel='stylesheet' id='WRT-main-style-css' href='http://
|
16
|
+
<link rel='stylesheet' id='WRT-main-style-css' href='http://example.com/wp/wp-content/themes/writee/assets/css/style-ltr.css?ver=4.8.1' type='text/css' media='all' />
|
17
17
|
<style type="text/css">.entry-content a,a:active, a:focus, a:hover{color:#bf9e3b}.social-navigation.theme-colors,
|
18
18
|
.comments-area .comments-list .comment .comment-meta .comment-header .comment-reply,
|
19
19
|
.entry .entry-header .entry-meta .entry-cat,
|