<?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>
									スマホページの一部の文字サイズを変更したい - CSSカスタマイズ相談				            </title>
            <link>https://wp-cocoon.com/community/customs/%e3%82%b9%e3%83%9e%e3%83%9b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e4%b8%80%e9%83%a8%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%81%84/</link>
            <description>Cocoon ディスカッション掲示板</description>
            <language>ja</language>
            <lastBuildDate>Fri, 06 Mar 2026 21:04:29 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: スマホページの一部の文字サイズを変更したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%82%b9%e3%83%9e%e3%83%9b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e4%b8%80%e9%83%a8%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%81%84/#post-80821</link>
                        <pubDate>Sat, 31 Aug 2024 15:08:54 +0000</pubDate>
                        <description><![CDATA[@chu-ya さん、回答ありがとうございます！
Chomeのデベロッパーツールを使ってみました。
スタイルシート部分も表示されるのでとてもわかりやすかったです。
教えて頂きありがとうございます。
デロッパーツールを使いながら調整したいと思います！
ありがとうございます！]]></description>
                        <content:encoded><![CDATA[<p>@chu-ya さん、回答ありがとうございます！</p>
<p><strong>Chomeのデベロッパーツールを使ってみました。</strong></p>
<p>スタイルシート部分も表示されるのでとてもわかりやすかったです。</p>
<p>教えて頂きありがとうございます。</p>
<p>デロッパーツールを使いながら調整したいと思います！</p>
<p>ありがとうございます！</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>kazu100</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%82%b9%e3%83%9e%e3%83%9b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e4%b8%80%e9%83%a8%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%81%84/#post-80821</guid>
                    </item>
				                    <item>
                        <title>RE: スマホページの一部の文字サイズを変更したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%82%b9%e3%83%9e%e3%83%9b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e4%b8%80%e9%83%a8%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%81%84/#post-80816</link>
                        <pubDate>Sat, 31 Aug 2024 07:41:37 +0000</pubDate>
                        <description><![CDATA[●回答
書き順を間違えています。
/*480px以下*/
@media screen and (max-width: 480px) {
  .head1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6em !importan...]]></description>
                        <content:encoded><![CDATA[<p><strong>●回答</strong></p>
<p><span style="color: #ff0000">書き順</span>を間違えています。</p>
<pre contenteditable="false">/*480px以下*/
@media screen and (max-width: 480px) {
  .head1 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6em !important;
    text-align: center;
  }
}</pre>
<p>上記の後に、以下が書かれており、<span style="color: #ff0000">先に定義したスタイルが上書きされてしまいます</span>。<br />結果、画面幅が480px以下でも文字サイズは1.5emとなります。</p>
<pre contenteditable="false">/*------------------------------------------------------------
見出しアイコン
-------------------------------------------------------------*/
.head1 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em !important;
  text-align: center;
}</pre>
<hr />
<p><strong>●アドバイス</strong></p>
<p>見よう見までカスタマイズもいいですが、<br />カスタマイズする上で、<strong>Chomeのデベロッパーツール使えていますか？</strong><br />カスタマイズより先に、使い方を理解して下さい。</p>
<p>CSSが間違っているか否か、自分で確認できるよう、基礎を身に付けて下さい。</p>
<div id="wpfa-40123" class="wpforo-attached-file"><a class="wpforo-default-attachment" title="2024-08-31_16h34_54.png" href="//wp-cocoon.com/wp-content/uploads/wpforo/default_attachments/1725090097-2024-08-31_16h34_54.png" target="_blank" rel="noopener"><i class="fas fa-paperclip"></i> 2024-08-31_16h34_54.png</a></div>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>大門未知子</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%82%b9%e3%83%9e%e3%83%9b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e4%b8%80%e9%83%a8%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%81%84/#post-80816</guid>
                    </item>
				                    <item>
                        <title>スマホページの一部の文字サイズを変更したい</title>
                        <link>https://wp-cocoon.com/community/customs/%e3%82%b9%e3%83%9e%e3%83%9b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e4%b8%80%e9%83%a8%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%81%84/#post-80815</link>
                        <pubDate>Sat, 31 Aug 2024 07:14:14 +0000</pubDate>
                        <description><![CDATA[cocoonの設定で全体でスマホの文字サイズの大きさを調整できますが、タイトルだけ文字サイズを指定して変更してるのですが、反映されません。
書き方が間違っているのか？試行錯誤して別のソースをしても反映されないままでした。
 
ウィジェットのカスタムHTML部分のソースです。
&lt;h2 class=&quot;head1&quot;&gt;今月のクーポン&lt;/h2&gt;
 
C...]]></description>
                        <content:encoded><![CDATA[<p>cocoonの設定で全体でスマホの文字サイズの大きさを調整できますが、タイトルだけ文字サイズを指定して変更してるのですが、反映されません。</p>
<p>書き方が間違っているのか？試行錯誤して別のソースをしても反映されないままでした。</p>
<p> </p>
<p>ウィジェットのカスタムHTML部分のソースです。</p>
<p>&lt;h2 class="head1"&gt;今月のクーポン&lt;/h2&gt;</p>
<p> </p>
<p>CSS側のソースです（子テーマに記述）</p>
<div>/*480px以下*/</div>
<div>@media screen and (max-width: 480px){</div>
<div>  /*必要ならばここにコードを書く*/</div>
<div> </div>
<div><span> .head1 {</span></div>
<div><span> display: flex;</span></div>
<div><span> justify-content: center;</span></div>
<div><span> align-items: center;</span></div>
<div><span> font-size: 0.6em !important;</span></div>
<div><span> text-align: center;</span></div>
<div>}</div>
<div> </div>
<div>}<span> </span></div>
<div> </div>
<div> </div>
<div>スマホで見ると今月のクーポンという部分を自動改行されずに1段で表示させたいので文字サイズを小さく変更したいです。</div>
<p>わかることがありましたらアドバイスをお願い致します。</p>
<p> </p>
<p>----------------------------------------------<br />サイト名：テスト<br />サイトURL：https://benlisoft.com<br />ホームURL：https://benlisoft.com<br />コンテンツURL：/wp-content<br />インクルードURL：/wp-includes/<br />テンプレートURL：/wp-content/themes/cocoon-master<br />スタイルシートURL：/wp-content/themes/cocoon-child-master<br />親テーマスタイル：/wp-content/themes/cocoon-master/style.css<br />子テーマスタイル：/wp-content/themes/cocoon-child-master/style.css<br />スキン：/wp-content/themes/cocoon-master/skins/veilnui-simplog-blue/style.css<br />WordPressバージョン：6.6.1<br />PHPバージョン：7.4.33<br />ブラウザ：Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36<br />サーバーソフト：Apache<br />サーバープロトコル：HTTP/1.1<br />言語：ja-JP,ja;q=0.9,en-US;q=0.8,en;q=0.7<br />----------------------------------------------<br />テーマ名：Cocoon<br />バージョン：2.7.7<br />カテゴリー数：1<br />タグ数：0<br />ユーザー数：1<br />----------------------------------------------<br />子テーマ名：Cocoon Child<br />バージョン：1.1.3<br />style.cssサイズ：3390 バイト<br />functions.phpサイズ：203 バイト<br />----------------------------------------------<br />Gutenberg：0<br />Font Awesome：4<br />Auto Post Thumbnail：0<br />Retina：0<br />ホームイメージ：/wp-content/themes/cocoon-master/screenshot.jpg<br />----------------------------------------------<br />ブラウザキャッシュ有効化：0<br />HTML縮小化：0<br />CSS縮小化：0<br />JavaScript縮小化：0<br />Lazy Load：0<br />----------------------------------------------<br />利用中のプラグイン：<br />WP Multibyte Patch 2.9<br />----------------------------------------------</p>]]></content:encoded>
						                            <category domain="https://wp-cocoon.com/community/customs/">CSSカスタマイズ相談</category>                        <dc:creator>kazu100</dc:creator>
                        <guid isPermaLink="true">https://wp-cocoon.com/community/customs/%e3%82%b9%e3%83%9e%e3%83%9b%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e4%b8%80%e9%83%a8%e3%81%ae%e6%96%87%e5%ad%97%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%97%e3%81%9f%e3%81%84/#post-80815</guid>
                    </item>
							        </channel>
        </rss>
		