<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Cocoon Child: style.css・editor-style.cssの読み込み順位について - 不具合報告				            </title>
            <link>https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Fri, 08 May 2026 11:58:22 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Cocoon Child: style.css・editor-style.cssの読み込み順位について</title>
                        <link>https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-409</link>
                        <pubDate>Fri, 23 Mar 2018 14:41:26 +0000</pubDate>
                        <description><![CDATA[]]></description>
                        <content:encoded><![CDATA[<p>https://wp-cocoon.com/community/bugs/cocoon-child-style-css%E3%83%BBeditor-style-css%E3%81%AE%E8%AA%AD%E3%81%BF%E8%BE%BC%E3%81%BF%E9%A0%86%E4%BD%8D%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6/#post-398</p><p>たしかに！その方がfontの見栄えが良いですね＾＾</p><p>私がつい意味のない先読みをしてしまってダメでした…。『CSSに書いた事が反映されない‥どうして？』と言う書き込みをつい想定してしまいました＾＾；</p><blockquote><p>editor-style.cssのスタイルとかで、important指定をしてもダメでしょうか？</p></blockquote><p>body・#tinymce、どちらも指定方法に間違いないので!importantでも問題なく表示されます。</p><p>お忙しい中、ご回答ありがとうございました！</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>かうたっく</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-409</guid>
                    </item>
				                    <item>
                        <title>RE: Cocoon Child: style.css・editor-style.cssの読み込み順位について</title>
                        <link>https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-400</link>
                        <pubDate>Fri, 23 Mar 2018 14:19:14 +0000</pubDate>
                        <description><![CDATA[editor-style.cssのスタイルとかで、important指定をしてもダメでしょうか？]]></description>
                        <content:encoded><![CDATA[<p>editor-style.cssのスタイルとかで、important指定をしてもダメでしょうか？</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-400</guid>
                    </item>
				                    <item>
                        <title>RE: Cocoon Child: style.css・editor-style.cssの読み込み順位について</title>
                        <link>https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-399</link>
                        <pubDate>Fri, 23 Mar 2018 14:16:31 +0000</pubDate>
                        <description><![CDATA[ビジュアルエディタースタイルは、以下の順番で適用しています。function editor_stylesheets_custom($stylesheets) {
  array_push($stylesheets,
    FONT_AWESOME_CDN_URL,
    get_template_directory_uri().&#039;/style.css&#039;,
    g...]]></description>
                        <content:encoded><![CDATA[<p>ビジュアルエディタースタイルは、以下の順番で適用しています。</p><pre class="php">function editor_stylesheets_custom($stylesheets) {
  array_push($stylesheets,
    FONT_AWESOME_CDN_URL,
    get_template_directory_uri().'/style.css',
    get_theme_css_cache_file_url(), //テーマ設定で変更したスタイル
    get_template_directory_uri().'/editor-style.css'
  );
  //スキンが設定されている場合
  if (get_skin_url()) {
    array_push($stylesheets,
      get_skin_url()
    );
  }
  //子テーマがある場合、子テーマ内のスタイルも読み込む
  if (is_child_theme()) {
    array_push($stylesheets,
      get_stylesheet_directory_uri().'/style.css',
      get_stylesheet_directory_uri().'/editor-style.css'
    );
  }
  //_v($stylesheets);
  return $stylesheets;
} </pre><p>editor-style.cssは後からのようです。<br />子テーマのfunctions.phpに上記関数を貼り付けて呼び出し人を変えることにより、CSSの読み込み順を変更はできます。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-399</guid>
                    </item>
				                    <item>
                        <title>RE: Cocoon Child: style.css・editor-style.cssの読み込み順位について</title>
                        <link>https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-398</link>
                        <pubDate>Fri, 23 Mar 2018 14:12:28 +0000</pubDate>
                        <description><![CDATA[Cocoon 設定、全体　より『キーカラー』『サイトキーカラー』で『#dd9933』を設定した際、公開ブログの投稿記事内『h2タグ』のフォント色が白くなるようです。これは現在そういった仕様にしています。白にしたくない場合は、テキストからも変更するという形になります。]]></description>
                        <content:encoded><![CDATA[<blockquote><p>Cocoon 設定、全体　より『キーカラー』『サイトキーカラー』で『#dd9933』を設定した際、公開ブログの投稿記事内『h2タグ』のフォント色が白くなるようです。</p></blockquote><p>これは現在そういった仕様にしています。</p><p>白にしたくない場合は、テキストからも変更するという形になります。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>わいひら</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-398</guid>
                    </item>
				                    <item>
                        <title>Cocoon Child: style.css・editor-style.cssの読み込み順位について</title>
                        <link>https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-385</link>
                        <pubDate>Fri, 23 Mar 2018 13:32:10 +0000</pubDate>
                        <description><![CDATA[Cocoon設定画面より、背景画像を入れたとき画像サイズが大きくなったため、style.cssに背景全てを指定しました。body { background-image: urlbackground-repeat: repeat; background-position: top left; background-attachment: fixed; background-siz...]]></description>
                        <content:encoded><![CDATA[<p>Cocoon設定画面より、背景画像を入れたとき画像サイズが大きくなったため、style.cssに背景全てを指定しました。</p><pre>body {<br /> background-image: url(https://bibabosi-rizumu.com/wp-content/uploads/2016/02/nuno.png);<br /> background-repeat: repeat;<br /> background-position: top left;<br /> background-attachment: fixed;<br /> background-size: auto;<br />}</pre><p>これが管理画面『投稿』より『投稿一覧』の『ビジュアル』エディタのbodyにも反映するので</p><pre>body {<br /> background-image: none;<br />}</pre><p>を入れても反映しません。読み込み順番かな？と思ったんですが、不明です。</p><pre>#tinymce {<br /> background-image: none;<br />}</pre><p>上記で反映します。以下がHTML抜粋です。</p><pre>&lt;body id="tinymce" class="mce-content-body～略～</pre><p>※※　ついでにテスト環境での設定で不思議だったこと　※※</p><p>Cocoon 設定、全体　より『キーカラー』『サイトキーカラー』で『#dd9933』を設定した際、公開ブログの投稿記事内『h2タグ』のフォント色が白くなるようです。</p><p>head内<code>&lt;style id='cocoon-style-inline-css'&gt;</code>に.article h2に白が入るからっぽいです。</p><pre>.header,.header .site-name-text,#navi .navi-in a,#navi .navi-in a:hover,.article h2,.sidebar h3 {<br /> color: #fff<br />}</pre><p>環境</p><p>----------------------------------------------<br />サイト名：ビバ★りずむ　テスト中<br />サイトURL：https:テスト中<br />Wordpressバージョン：4.9.4<br />PHPバージョン：7.1.4<br />ブラウザ：Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36<br />サーバーソフト：Apache<br />サーバープロトコル：HTTP/1.1<br />言語：ja,en-US;q=0.9,en;q=0.8<br />----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：0.2.8<br />----------------------------------------------<br />子テーマ名：Cocoon Child<br />バージョン：0.0.2<br />----------------------------------------------</p><p>管理画面上の事と、テスト環境でURLは置けてません…が、手がすいた頃ご確認よろしくお願いします。※コチラは一切急いでません。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/bugs/">不具合報告</category>                        <dc:creator>かうたっく</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/bugs/cocoon-child-style-css%e3%83%bbeditor-style-css%e3%81%ae%e8%aa%ad%e3%81%bf%e8%be%bc%e3%81%bf%e9%a0%86%e4%bd%8d%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#post-385</guid>
                    </item>
							        </channel>
        </rss>
		