Avoid to apply web fonts inefficiently with Elementor

Bad way to seperately apply font type in Elementor

Astra – Global Base Typography Setting

Noto Sans JP
Comes with inefficient way of font setting in Elementor

Noto Sans JP comes with inefficient way of font setting in Elementor
Noto Sans JP comes with inefficient way of font setting in Elementor

Noto Sans TC
Comes with custom CSS way for controlling elements efficiently

Noto Sans TC comes with custom CSS way for control elements efficiently
Noto Sans TC comes with custom CSS way for control elements efficiently
Apply Google Fonts with font face by font-face

You may also like to read

https://ke2b.comfive-methods-of-custom-css-including-for-gutenberg-block-editor-and-elementor/
How to Add Custom CSS to WordPress: 5 Methods Including Block Editor & Elementor
https://facekungfu.com/zh-hant/five-methods-of-custom-css-including-for-gutenberg-block-editor-and-elementor/
如何在 WordPress 自訂 CSS 語法:5 種,包括區塊編輯器與 Elementor

Conclusion

The priorities of web font solutions that I recommend:

  1. Custom CSS, no matter of font-face or @import
  2. Astra or other themes tuned fine
  3. Elementor

Advanced

Fonts – block, swap, fallback, optional

Controlling Font Performance with font-display
https://developers.google.com/web/updates/2016/02/font-display

block, swap, fallback, optional
https://css-tricks.com/almanac/properties/f/font-display/

FOUT, FOIT, FOFT
https://css-tricks.com/really-dislike-fout-font-display-optional-might-jam/

With my experiences, I suggest

font-display: swap

or

font-display: fallback

which are better than others in most cases.

QR Code to This Article

QR:  Avoid to apply web fonts  inefficiently with Elementor

Green Yang
Green Yang

Brand, Jazz, WordPress. Come on in! Here are my own 3 websites and IG for career and for fun!
品牌, 事業, 網站, 爵士,歡迎來逛逛我的三個網站與一個 IG ,有正經有趣味喲! - https://linktr.ee/gjazz

Articles: 60

Leave Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.