Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
This is more of a CSS question, but I figured I'll ask anyway to see if support can help.
My objective: To ensure text remains visible during webfont load, especially when it comes to mobile devices.
I have already modified the fonts.css in my custom theme to include "font-display: swap;" in every single line item where you have @font-face. This is working and is no longer creating problems with Google.
But Google seems to be having issues with the "font-awesome.min.css" file, which I may need to un-minimize to apply the above fix.
My first question is: What is the purpose of this "font-awesome.min.css" file?
Second question, What exactly is this? ../fonts/fontawesome-webfont.woff2?v=4.4.0
Whatever it is, Google hates it.
Many thanks
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
We are using font awesome library to render icons in the application. font-awesome.min.css This is the style sheet for the library. We are using version 4 of the library. You can review this site to get an overview https://fontawesome.com
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Thank you for your reply, I figured as much after decompressing the file. After review, it was an easy fix. I just needed to apply the "font-display: swap" to the very beginning of the file, and it took care of the Google concerns.
Thanks again.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close