<?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>
									grayish のサイドバーの親カテゴリーだけ太字や背景色を変更したいです - Cocoonテーマに関する質問				            </title>
            <link>https://wp-cocoon.com/community/cocoon-theme/grayish-%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%a0%e3%81%91%e5%a4%aa%e5%ad%97%e3%82%84%e8%83%8c%e6%99%af%e8%89%b2/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Tue, 21 Apr 2026 22:30:10 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: grayish のサイドバーの親カテゴリーだけ太字や背景色を変更したいです</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/grayish-%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%a0%e3%81%91%e5%a4%aa%e5%ad%97%e3%82%84%e8%83%8c%e6%99%af%e8%89%b2/#post-76199</link>
                        <pubDate>Wed, 27 Dec 2023 07:40:13 +0000</pubDate>
                        <description><![CDATA[chu-ya様、ありがとうございます！
おかげさまで希望通りの表示ができました。
ありがとうございました。]]></description>
                        <content:encoded><![CDATA[<p>chu-ya様、ありがとうございます！</p>
<p>おかげさまで希望通りの表示ができました。</p>
<p>ありがとうございました。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>yajio</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/grayish-%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%a0%e3%81%91%e5%a4%aa%e5%ad%97%e3%82%84%e8%83%8c%e6%99%af%e8%89%b2/#post-76199</guid>
                    </item>
				                    <item>
                        <title>RE: grayish のサイドバーの親カテゴリーだけ太字や背景色を変更したいです</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/grayish-%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%a0%e3%81%91%e5%a4%aa%e5%ad%97%e3%82%84%e8%83%8c%e6%99%af%e8%89%b2/#post-76195</link>
                        <pubDate>Wed, 27 Dec 2023 00:29:41 +0000</pubDate>
                        <description><![CDATA[CSSですから、反映できない事はないです。

●間違え
以下は書き方を間違えています。+は隣接している要素です。aタグは、子ですから隣接しません。
.widget_nav_menu ul li + a
liの下の子(aタグ)が該当し、全てのメニューが該当してしまいます。
.widget_nav_menu ul li &gt; a

●回答
サブメニューを除いた...]]></description>
                        <content:encoded><![CDATA[<p></p>
<p>この部分をcssで調整することはできるのでしょうか。</p>
<p></p>
<p>CSSですから、反映できない事はないです。</p>
<hr />
<p><strong>●間違え</strong></p>
<p>以下は書き方を間違えています。<span style="color: #ff0000">+は隣接している要素</span>です。aタグは、子ですから隣接しません。</p>
<pre class="hljs stylus" contenteditable="false"><span class="hljs-selector-class">.widget_nav_menu</span> <span class="hljs-selector-tag">ul</span> <span class="hljs-selector-tag">li</span> + a</pre>
<p>liの下の子(aタグ)が該当し、全てのメニューが該当してしまいます。</p>
<pre class="hljs stylus" contenteditable="false"><span class="hljs-selector-class">.widget_nav_menu</span> <span class="hljs-selector-tag">ul</span> <span class="hljs-selector-tag">li</span> &gt; a</pre>
<hr />
<p><strong>●回答</strong></p>
<p>サブメニューを除いたメニュー下を対象とします。</p>
<pre contenteditable="false">.widget_nav_menu ul:not(.sub-menu)  &gt; li&gt; a{
background-color:green;
color:white;
font-weight:bold;
}</pre>
<div id="wpfa-37299" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="2023-12-27_09h32_45.png" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1703637256-2023-12-27_09h32_45.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> 2023-12-27_09h32_45.png</a></div>
<div> </div>
<div>服だけなら、IDを指定して以下となります。</div>
<div>
<pre contenteditable="false">.widget_nav_menu #menu-item-11218 &gt; a{
background-color:green;
color:white;
font-weight:bold;
}</pre>
</div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/grayish-%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%a0%e3%81%91%e5%a4%aa%e5%ad%97%e3%82%84%e8%83%8c%e6%99%af%e8%89%b2/#post-76195</guid>
                    </item>
				                    <item>
                        <title>grayish のサイドバーの親カテゴリーだけ太字や背景色を変更したいです</title>
                        <link>https://wp-cocoon.com/community/cocoon-theme/grayish-%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%a0%e3%81%91%e5%a4%aa%e5%ad%97%e3%82%84%e8%83%8c%e6%99%af%e8%89%b2/#post-76193</link>
                        <pubDate>Tue, 26 Dec 2023 21:08:20 +0000</pubDate>
                        <description><![CDATA[grayishテーマを使用しております。
服　セーター　・・・　・・・
のように、新規メニューをつくり、ウィジェットページでサイドバースクロール追従　の中にナビゲーションメニューを追加して、その中に先程作った新規メニューを追加しております。※下記階層はわかりやすいように１つにしてありますが、実際は複数ございます。
&lt;div class=&quot;menu-%e3%82%ab...]]></description>
                        <content:encoded><![CDATA[<p>grayishテーマを使用しております。</p>
<p>服<br />　セーター<br />　・・・<br />　・・・</p>
<p>のように、新規メニューをつくり、<br />ウィジェットページで<br />サイドバースクロール追従　の中に<br />ナビゲーションメニューを追加して、その中に先程作った新規メニューを追加しております。<br />※下記階層はわかりやすいように１つにしてありますが、実際は複数ございます。</p>
<pre contenteditable="false">&lt;div class="menu-%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc-container"&gt;
&lt;ul id="menu-%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc" class="menu"&gt;
&lt;li id="menu-item-73" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-73"&gt;&lt;a href="https://amekajilabo.com/category/sweat/"&gt;服&lt;/a&gt;
&lt;ul class="sub-menu"&gt;
	&lt;li id="menu-item-74" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-74"&gt;&lt;a href="https://amekajilabo.com/category/sweat/cushman/"&gt;セーター&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</pre>
<p>ここの「服」の個所の文字を太字にしたり、背景色の実を変えたいと思っているのですが、うまくいきません。</p>
<pre contenteditable="false">.widget_nav_menu ul li + a</pre>
<p>とか</p>
<pre contenteditable="false">.widget_nav_menu ul li &gt; a</pre>
<p>とかやってみたのですが、反映されません。</p>
<p>この部分をcssで調整することはできるのでしょうか。</p>
<p>よろしくお願い申し上げます。</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/cocoon-theme/">Cocoonテーマに関する質問</category>                        <dc:creator>yajio</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/cocoon-theme/grayish-%e3%81%ae%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ae%e8%a6%aa%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e3%81%a0%e3%81%91%e5%a4%aa%e5%ad%97%e3%82%84%e8%83%8c%e6%99%af%e8%89%b2/#post-76193</guid>
                    </item>
							        </channel>
        </rss>
		