Warning

Suspected Malware

This website has been reported for potentially distributing malware.

Malware is malicious software created to intentionally disrupt the normal operations of a device.

Learn More


Warning: Cannot modify header information - headers already sent by (output started at /home/c0654385/public_html/chrotoblog.com/index.php(23) : eval()'d code:1) in /home/c0654385/public_html/chrotoblog.com/wp-includes/feed-rss2.php on line 8
ブログ作成 | クロトブログ https://chrotoblog.com 最新のゲーム情報をあなたに Sat, 11 Apr 2026 14:28:39 +0000 ja hourly 1 https://wordpress.org/?v=6.9.4 https://chrotoblog.com/wp-content/uploads/2026/04/cropped-IMG_3608-32x32.png ブログ作成 | クロトブログ https://chrotoblog.com 32 32 【WordPress】タイトルの変更について https://chrotoblog.com/archives/238 https://chrotoblog.com/archives/238#comments Sat, 11 Apr 2026 14:13:14 +0000 https://chrotoblog.com/?p=238 みなさんこんにちは、クロトと言います。
今回は、ブログを編集するうえで記事のタイトルを編集する方法について書いておきます。
私の備忘録として書き留めておきますが、他に同じようなことでお困りの方がいましたら、参考になると思います

タイトル変更について

当サイトは「Lightning」というテーマを使っているのですが、タイトルを装飾する際にどうしても変更がうまくいかず、四苦八苦していました。
どうやら、CSSには優先順位がついており、より優先順位が強い命令文が敵用さてるみたいですね。

/* H2見出しのスタイル変更例 */
/* これだと変更が適応される */
h2{color: #FFF; /* 文字色 */
		background: #337ab7; /* 背景色 */
    border-left: 5px solid #0056b3; /* 左線 */
    padding: 10px; /* 余白 */}

h2に直接命令文をコーディングしているのですが、
編集画面で文字の大きさなどの変更はできるものの、デフォルトの変更は追加CSSに記載しないといけないみたいです。

]]>
https://chrotoblog.com/archives/238/feed 1