解決済み
Question

追加CSSの設定方法

  • s sheila counts
  • 記事詳細ページの「タイトル(h1)」「h2」「h3」を太字にしたいと考えています。
    タイトルについて追加CSSで下記を設定したのですが、太字になってくれません。

    .c--entry-title #jinrPostTitle{
    font-weight: 600;
    }

    h1,h2,h3についてどのように記載するのが正しいでしょうか。
    宜しくお願いします。

    ※サーバーはムームーサーバーになります。

    問題となるページ : https://aboutlovin.com/style/1285/
    • WP 6.7.1
    • PHP 8.3.x
    • JIN:R 1.4.0
    • その他(トピック内容に記載してください。)
    • GoogleChrome
    • Windows11
    2025/01/29 12:27
  • tsu_

    こんにちは!

    h1については
    .d--notosans-thin #jinrPostTitle {
    font-weight: 600 !important;
    }

    h2以下については
    #wrapper.d--notosans-thin h2.jinr-heading, #wrapper.d--notosans-thin h3.jinr-heading, #wrapper.d--notosans-thin h4.jinr-heading, #wrapper.d--notosans-thin h5.jinr-heading {
    font-weight: 600 !important;
    }

    のコードで対応できるんじゃないかと思います...!

    細かい調整はsheila countsさんご自身でお願いできれば幸いです。

    よろしくお願いいたします!

    2025/01/31 10:31
  • s
    sheila counts

    ありがとうございます。無事太字にすることができました。
    ご対応ありがとうございました。

    2025/01/31 11:21
CLOSE