Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers::$settings is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/class-alg-wc-custom-order-numbers.php on line 108

Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers_Settings_General::$id is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/admin/class-alg-wc-custom-order-numbers-settings-general.php on line 29

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the custom-order-numbers-for-woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property Alg_WC_Custom_Order_Numbers_Settings_General::$desc is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/custom-order-numbers-for-woocommerce/includes/admin/class-alg-wc-custom-order-numbers-settings-general.php on line 30

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the download-manager domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property WPDM\WordPressDownloadManager::$package is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/download-manager/download-manager.php on line 188

Deprecated: Creation of dynamic property WPDM\WordPressDownloadManager::$email is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/download-manager/download-manager.php on line 201

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$plugin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 41

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 42

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Admin::$rating is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/admin/class-admin.php on line 43

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin::$admin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/float-menu.php on line 88

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$plugin is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 28

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 29

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin_Public::$rating is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/public/class-public.php on line 30

Deprecated: Creation of dynamic property float_menu_free\Wow_Plugin::$public is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/float-menu/float-menu.php on line 89

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property Factory325_Plugin::$options is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 76

Deprecated: Creation of dynamic property Factory325_Plugin::$mainFile is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 79

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginRoot is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 80

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginSlug is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 81

Deprecated: Creation of dynamic property Factory325_Plugin::$relativePath is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 82

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginUrl is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 83

Deprecated: Creation of dynamic property Factory325_Plugin::$childPlugins is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 86

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginName is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 89

Deprecated: Creation of dynamic property Factory325_Plugin::$pluginTitle is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 90

Deprecated: Creation of dynamic property Factory325_Plugin::$version is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 91

Deprecated: Creation of dynamic property Factory325_Plugin::$build is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 92

Deprecated: Creation of dynamic property Factory325_Plugin::$tracker is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 93

Deprecated: Creation of dynamic property Factory325_Plugin::$host is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/factory/core/includes/plugin.class.php on line 94

Deprecated: Creation of dynamic property Factory325_Plugin::$api is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/api/api.php on line 14

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 7360

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 2195

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$default is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 52

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$type is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 64

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$build is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 68

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$key is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 69

Deprecated: Creation of dynamic property OnpLicensing325_Manager::$word is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 70

Deprecated: Creation of dynamic property Factory325_Plugin::$license is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/licensing/licensing.php on line 16

Deprecated: Creation of dynamic property OnpUpdates324_Manager::$word is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/updates/updates.php on line 48

Deprecated: Creation of dynamic property Factory325_Plugin::$updates is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/image-elevator/libs/onepress/updates/updates.php on line 15

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ninja-tables-pro domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the learndash domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_base_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 21

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_base_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 22

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_template_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 23

Deprecated: Creation of dynamic property LearnDash_Theme_Register_Legacy::$theme_template_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/legacy/includes/class-ld-themes-register.php on line 24

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_base_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 25

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_base_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 26

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_template_dir is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 27

Deprecated: Creation of dynamic property LearnDash_Theme_Register_LD30::$theme_template_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-themes-register.php on line 28

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-user-avatar domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$ecpay_pay is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 98

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_key_path is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 101

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_crt_path is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 102

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_pay_key_pass is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 103

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$apple_display_name is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 104

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$MerchantID is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 106

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$HashKey is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 107

Deprecated: Creation of dynamic property WC_Ecpay_Apple_Pay::$HashIV is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/ecpay/includes/class-wc-ecpay-apple-pay.php on line 108

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/functions.php on line 6121

Deprecated: Creation of dynamic property Imagify\Job\MediaOptimization::$query_url is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/imagify/inc/classes/class-imagify-abstract-background-process.php on line 38

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/elementor-pro/modules/loop-builder/module.php on line 204

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-per-page.php on line 48

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 52

Deprecated: Creation of dynamic property LearnDash_Settings_Section_General_REST_API::$setting_option_fields_v1 is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 208

Deprecated: Creation of dynamic property LearnDash_Settings_Section_General_REST_API::$setting_option_fields_v2 is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-general-rest-api.php on line 276

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/class-ld-settings-sections.php on line 796

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-management-display.php on line 78

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property SFWD_CPT_Instance::$template_redirect is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/class-ld-cpt-instance.php on line 50

Deprecated: Creation of dynamic property Advanced_Editor_Tools::$toolbar_classic_block is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/tinymce-advanced/tinymce-advanced.php on line 306

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-quizzes-management-display.php on line 94

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-quizzes-email-settings.php on line 97

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-group-leader-user.php on line 59

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-groups-membership.php on line 74

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/includes/settings/settings-sections/class-ld-settings-section-courses-themes.php on line 66

Deprecated: Automatic conversion of false to array is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-content/plugins/sfwd-lms/themes/ld30/includes/class-ld-settings-section-theme-ld30.php on line 64
【code】[css]一句語法讓全站字體改成「微軟正黑體」 – WordPress網站架設線上課程新手教學 – 小訣學院

【code】[css]一句語法讓全站字體改成「微軟正黑體」

如題,

不管用的佈景主題是哪一個,這句語法應全都會生效。

在你網站首頁並依下圖並貼上這句語法:

body{font-family:微軟正黑體!important;}

若嚴謹一點會放這句 :

body{font-familyarial,"Microsoft JhengHei","微軟正黑體",sans-serif !important;}

注意 : 複製上面語法時要注意引號可能會改成全形的,記得修改成半形的才會生效。

(嚴謹的寫法主要是讓字體有個次選擇性)

▼以下為設置方式 :

新手不要誤會這句語法後面改什麼字體就有什麼字體喔,這句的微軟正黑體是通用字體,任何電腦或主機都會有,所以才能直接直接生效的。

※2019.5.29 補充:

加了上面語法後,有些頁面文字並不會套用成功,為什麼?因為可能你之前在編輯這些字時就有用編輯器選了字體,所以必須把這些字的字體改回預設,這樣就會套用成功了!

在〈【code】[css]一句語法讓全站字體改成「微軟正黑體」〉中有 25 則留言

    • 您好,我發現您的網站上加了該CSS後並沒有執行,被直接註掉了,請看圖 https://prnt.sc/ngrym5
      所以不知是否您有其它外掛的影響,或是您可以試試裝這支外掛https://tw.wordpress.org/plugins/wp-add-custom-css/ , 把本站提供的CSS語法貼在這外掛中後,看看是否正常。

      回覆
  1. hi 你好

    我想請問一下
    因為我剛開始假設

    然後我想把全部字體都統一更改成 微軟正黑體
    但是title 以及下方小字說明 好像沒辦法更變
    可以麻煩幫我看一下嗎

    回覆
    • 哈囉,會沒有套用的部分,應該是你原本就有替它設定了字體了,您可以把該文字的字體改成「預設」這樣應就會套用了!
      另一個原因,我看了您的語法,您的第一個字體並不是微軟正黑體喔,所以把第一個刪掉應也會就正常套用了,如下圖 :
      https://prnt.sc/nzrtwr

      回覆
  2. body{font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important;}
    好用但是若改成
    *{font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important;}
    可以更換試試看整個網站

    回覆
    • 您好,您提供的方法我有測試,會存在一個問題,它會讓全站的icon都消失變成正方形,除非在您說的這句語法後面也把icon的字體也加上才會正常!

      回覆
    • 如果使用「*」開頭的(上面黑人同一句),那我原本那句後面的 !important可以試著先拿掉,這樣當找不到icon字體時它就會自動套用原本的icon字體,就不會發生所有icon變成方框的情形了。

      回覆
  3. 我研究出來了,用 F12 找出 icon 圖標的 class 把它排除,例如我的 icon class 是 "icon-wrapper",所以語法如下,在 IE 測試成功:
    *:not([class*="icon-wrapper"]):not(i){font-family:"Arial", "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;}

    回覆
    • 其實也不一定要排除,如果你的icon字體的名稱有找出來,可以這樣 : *{font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif,你的icon字體名稱 !important;}
      就也可以,就不一定要把 !important拿掉了!

      回覆
    • 這樣也可以喔
      *:not([class*="icon"]):not(i){
      font-family: Arial,"Microsoft JhengHei","Microsoft YaHei","Noto Sans TC",sans-serif,"Font Awesome 5 Free"!important;
      }

      回覆
  4. 您好,我用您的方式已經順利把內文變成正黑體了,實在太感謝了,
    另外想請問如何將頁首選單(是Primary,不是側欄)的標題字體放大呢?
    因為這邊不能放圖,還是怎麼直接詢問您呢?
    再次感謝。

    回覆
  5. 請問站長,除了更改字體樣式,有css語法更改文章字體預設大小的嗎?
    預設的都好小、間距行高都好近 一行一行改 好麻煩= =

    回覆
  6. 感謝您*{font-family: arial,"Microsoft JhengHei","微軟正黑體",sans-serif !important;}
    我使用成功了

    回覆

Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/399491.cloudwaysapps.com/nduuntwyqh/public_html/wp-includes/comment-template.php on line 2687

發表留言