サポート » テーマ » テーマhuemanのstyle.cssの編集方法

  • こんにちは、プログラミング初心者で自分なりに調べてみたのですが
    どうしても分からずこちらで質問させていただきます。
    現在のテーマhuemanのstyle.cssを編集できません。

    外観>テーマの編集>style.css という順で
    style.cssを表示させても画面にはコードではなく英文のみが表示されています。

    そこには
    →The main css stylesheet of the Hueman theme is located in /assets/front/css/main.css.
    と書かれていて、どうやら別の場所にあるみたいなのですが
    /assets/front/css/main.css.←このファイルはどこから開くことができるのか分かりません。

    font-familyや行間を編集したり、子テーマを導入したいです。
    すみません、どなたか教えていただけませんか。よろしくおねがいします。

    下記がstyle.cssの場所に表示されている英文になります。

    he main css stylesheet of the Hueman theme is located in /assets/front/css/main.css.

    The main reason why the main stylesheet of the Hueman theme has been moved to another place is : minification.
    Minification is a technique to compress a css file and therefore improve speed (page load time) of your website.

    This style.css file provides details about the Theme (in the form of comments above) that is read by WordPress, and therefore cannot be minified.

    Note : You can load the not minified stylesheet if you uncheck the option in the customizer > Global Settings > performances
    */

    /*
    Developers Recommendation
    To make it easy to update your theme, you should NOT add your custom css rules to this file. Instead use
    a child theme to add your styles. You can copy a style from this file and paste it in the child
    theme’s style.css and it will override the style in this file. You have been warned! 🙂

    If you don’t know what a child theme is, you really want to spend 5 minutes learning how to use child themes in WordPress, you won’t regret it 🙂 !
    https://codex.wordpress.org/Child_Themes
    */

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • CG

    (@du-bist-der-lenz)

    Hueman テーマのスタイルシート編集は、カスタマイズ>詳細設定>追加CSS で可能です。

    追加CSS

    なお、フォントは「Webページデザイン」>「全般デザイン設定」で可能です。

    フォント設定

    スタイルシート・カスタマイズに留まるのであれば、子テーマを作らずとも十分ではないでしょうか。

1件の返信を表示中 - 1 - 1件目 (全1件中)
  • トピック「テーマhuemanのstyle.cssの編集方法」には新たに返信することはできません。