-
AuthorPosts
-
April 29, 2020 at 2:09 pm #1208162
Hello Enfold Team!
How is it possible without a child theme to display font-display font awesome icons fa-brands-400.woff2 in CSS? Its always a problem with google page speed. How to insert this CSS for font Display at the right position in Quick CSS and is it possible?
Many thanks for you help!
April 30, 2020 at 1:16 am #1208416Hey topnetat,
Have you added a link to Font-Awesome already. Please refer to the following:
https://kriesi.at/support/topic/font-awesome-4-2-0-with-enfold-not-working/#post-324419
Best regards,
Jordan ShannonApril 30, 2020 at 9:00 am #1208459Hi Jordan Shannon!
unfortunately its not working?
BR
April 30, 2020 at 5:34 pm #1208568Hi,
Can you link us to a page or design of what you’re trying to accomplish? I may be misunderstanding.
Best regards,
Jordan ShannonMay 3, 2020 at 9:52 pm #1209343Hi Jordan Shannon!
You see if you run a page speed insights test on the website – There is always a problem – Make sure that the web font remains visible during loading. Thank you for your help.Best regards
May 4, 2020 at 9:32 am #1209457Hi!
See in private content.May 8, 2020 at 2:34 pm #1211046Hi,
Thank you for the update.
You can use the avf_font_display filter to change the font-display value from auto to swap.
add_filter('avf_font_display', function($swap) { return 'swap'; }, 10, 1);// https://web.dev/font-display/?utm_source=lighthouse&utm_medium=unknown
This ensures that the text are still visible even if the font file(s) are not loaded yet.
Best regards,
IsmaelMay 8, 2020 at 3:15 pm #1211060Ive already inserted this code but its not working on this fa icon font.
May 8, 2020 at 9:34 pm #1211237Hi topnetat,
It does not work, because not all systems have the fa font used by you installed locally.
Best regards,
VictoriaMay 14, 2020 at 8:56 am #1212868Ok thank you for your answer
May 14, 2020 at 8:17 pm #1213027Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan ShannonMay 14, 2020 at 8:51 pm #1213045ok but i really need you help in another open topics please!
May 14, 2020 at 9:03 pm #1213050Hi,
We will look into those ASAP. Thank you for your patience with them.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Font display font awesome icons’ is closed to new replies.
