How to load Google Fonts when opening the page?
Sometimes I see Google Fonts only take effect after the page loaded?
Google Font without CSF: https://demo.wpenjoy.com/enjoyvideo (Google Font display first, no issues)
Google Font WITH CSF: https://demo.wpenjoy.com/enjoyvideo-pro (I firstly see the default font "serif", then Google Font)
Yes, it's right. Let me explain it. Shortly:
I am using display=swap attribute for font performance. Also it's default attribute. ( more info )
BUT, yes there is another way display=block you can try it:
Follow this steps:
Go to file /codestar-framework/classes/setup.class.php
Go to line 645
Change "swap" to "block"
Save and try
It works ?
Thank you for your reply! It works!
It would be better if there is an option that we can set in admin-options.php.
Yes, yes. I am thinking that right now Maybe a filter or option parameter. Ok I noted that, Follow the updates, It will come in next updates...