<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>SNSシェア  |  テノール歌手の令和ルネッサンスブログ　</title>
	<atom:link href="https://kudomasaru.com/tag/sns%e3%82%b7%e3%82%a7%e3%82%a2/feed/" rel="self" type="application/rss+xml" />
	<link>https://kudomasaru.com</link>
	<description>Amore !　Cantare !　Mangiare !</description>
	<lastBuildDate>Mon, 11 May 2020 08:25:33 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://kudomasaru.com/wp-content/uploads/2020/05/cropped-Gclif-BlueWhite-32x32.png</url>
	<title>SNSシェア  |  テノール歌手の令和ルネッサンスブログ　</title>
	<link>https://kudomasaru.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">177021277</site>	<item>
		<title>Cocoonテーマ～特定の固定ページのSNSシェアボタンを消す方法、をやってみた件</title>
		<link>https://kudomasaru.com/cocoon-wp20200511/</link>
					<comments>https://kudomasaru.com/cocoon-wp20200511/#respond</comments>
		
		<dc:creator><![CDATA[くどりん]]></dc:creator>
		<pubDate>Mon, 11 May 2020 01:22:24 +0000</pubDate>
				<category><![CDATA[Cocoon備忘録]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[cocoon]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[style.css]]></category>
		<category><![CDATA[SNSシェア]]></category>
		<guid isPermaLink="false">https://kudomasaru.com/?p=227</guid>

					<description><![CDATA[お問い合わせフォームのページにはSNSシェアボタンは不要、ということで非表示にしたい。今のところCocoonテーマにはページ指定をしてSNSボタンを消す機能は実装されていないので、CSSで書き込むのに挑戦してみた。初挑戦 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>お問い合わせフォームのページにはSNSシェアボタンは不要、ということで非表示にしたい。<br>今のところCocoonテーマにはページ指定をしてSNSボタンを消す機能は実装されていないので、CSSで書き込むのに挑戦してみた。初挑戦！<br><br>緊張した。</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="996" height="563" src="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-12.png" alt="" class="wp-image-235" srcset="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-12.png 996w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-12-300x170.png 300w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-12-768x434.png 768w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-12-120x68.png 120w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-12-160x90.png 160w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-12-320x180.png 320w" sizes="(max-width: 996px) 100vw, 996px" /></figure>



<p><br><br><br></p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">CSSコード</a></li><li><a href="#toc2" tabindex="0">ページIDの探し方</a></li><li><a href="#toc3" tabindex="0">CSSを記述する場所</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">CSSコード</span></h2>



<pre class="wp-block-preformatted">/*******************************<br>* post-xx のSNSシェアボタンの非表示<br>********************************/<br>#post-XX<br>.sns-share {<br> display: none; <br>}</pre>



<p>このXXには該当ページのページIDを書く。<br><br><br><br></p>



<h2><span id="toc2">ページIDの探し方</span></h2>



<p>「固定ページ」→「固定ページ一覧」で指定の固定ページのタイトルにカーソルを合わせると左下のステータスバーにページのアドレスが表示される。<br></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="995" height="562" src="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-3_LI.jpg" alt="" class="wp-image-229" srcset="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-3_LI.jpg 995w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-3_LI-300x169.jpg 300w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-3_LI-768x434.jpg 768w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-3_LI-120x68.jpg 120w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-3_LI-160x90.jpg 160w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-3_LI-320x180.jpg 320w" sizes="(max-width: 995px) 100vw, 995px" /></figure>



<p><br>post=168の部分の数字「１６８」がページID</p>



<p><br><br><br><br></p>



<h2><span id="toc3">CSSを記述する場所</span></h2>



<figure class="wp-block-image size-large"><img loading="lazy" width="394" height="240" src="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-7.png" alt="" class="wp-image-230" srcset="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-7.png 394w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-7-300x183.png 300w" sizes="(max-width: 394px) 100vw, 394px" /></figure>



<p>「外観」→「テーマ」→子テーマの右下「カスタマイズ」<br>でこの画面に遷移。<br>または、ページ上部のステイタスバー内の「&#x1f58c;カスタマイズ」をクリック。<br></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="444" height="550" src="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-5.png" alt="" class="wp-image-231" srcset="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-5.png 444w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-5-242x300.png 242w" sizes="(max-width: 444px) 100vw, 444px" /></figure>



<p>ここに先ほどのCSSコード（ページID入り）を張り付ける。<br>「公開」をクリック。で終了！</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="756" src="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-9-1024x756.png" alt="" class="wp-image-232" srcset="https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-9-1024x756.png 1024w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-9-300x222.png 300w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-9-768x567.png 768w, https://kudomasaru.com/wp-content/uploads/2020/05/2020-05-11-9.png 1079w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>無事に初CSS出来ました！<br><br>作業自体は簡単ですが、いろいろ探すのが初心者には難しいですね。<br><br>「子テーマのstyle.cssに貼ればよい」と言われてもそのstyle.cssの場所がわからないのです・・・。</p>



<p>style.cssってどこですか？ってなんだか「私のパンツはどこですか？」って聞く感覚に似てて、聞くことに引かれそうでな～んか聞きにくいし(笑)<br><br>style.cssはどこ～って随分探しました(;^_^A<br><br>次回は大丈夫！<br>よろしく！style.cssさん！！<br></p>


<p><a href="//blog.with2.net/link/?2038787"><img src="https://blog.with2.net/img/banner/m04/br_banner_kokuban.gif" title="人気ブログランキング"></a><br /><a href="//blog.with2.net/link/?2038787" style="font-size: 0.9em;">人気ブログランキング</a></p>



<p><br><strong><span class="bold"><span class="bold-red">↑　ポチッとお願い！励みになりますm(__)m</span></span></strong><br></p>
]]></content:encoded>
					
					<wfw:commentRss>https://kudomasaru.com/cocoon-wp20200511/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">227</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using disk: enhanced 

Served from: kudomasaru.com @ 2026-06-21 08:17:55 by W3 Total Cache
-->