- This topic has 9 replies, 4 voices, and was last updated 2 years, 1 month ago by
Leo.
-
AuthorPosts
-
December 11, 2016 at 7:59 pm #253728
Sigve
Hello, i am having some problems with displaying font awesome icons on my website.
I am running wp nginx with Autoptimize and WP Fastest Cache. First i thought that css minifying was the problem, so i have disabled anything css related on Autoptimize and Autoptimize. I also tried to disable gzip in nginx without any luck.
edit: almost forgot, i also have 2 icons top right in the primary navigation, they are not working either.
Here is my site: https://sigve.xyz
The icon should appear in front of my email address.
Thanks <3
December 12, 2016 at 12:02 am #253755Tom
Lead DeveloperLead DeveloperHi there,
It looks like you’re using the Font Awesome essentials filter which will only load the essential icons for GP.
It’s likely those icons aren’t in the essentials bundle.
Let me know if you need more info π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 12, 2016 at 6:03 am #253852Sigve
Hey, really weird since they were working a couple of days ago. Any clue what i could do to fix it?
Thanks for your help, appreciate it!
December 12, 2016 at 10:14 am #253895Tom
Lead DeveloperLead DeveloperRemove this function, which you must have added at some point:
add_filter( 'generate_fontawesome_essentials', 'generate_fontawesome_essentials' ); function generate_fontawesome_essentials() { return true; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentDecember 12, 2016 at 10:22 am #253900Sigve
Wow, i am so dumb.. Totally forgot that i added that to improve the loading time of the site.
Fixed now!
You are doing gods work, the effort you are putting into GP is incredible! #keepgoing
Thanks alot!
December 12, 2016 at 10:58 am #253907Tom
Lead DeveloperLead DeveloperYou can keep the essentials and build your own font icon file using a tool like icomoon: https://icomoon.io/app/#/select
That way you don’t need to load the entire Font Awesome library.
Glad I could help! π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 3, 2020 at 9:48 am #1225293Nickita
Hi there!
I have some troubles, too.
I ve made two identical sites.
BUT
On the first site there is no problem with font awesome.
And on the second site font awesome isn’t loading! It even has no chekbox “loading only essential icons”. The first has.
What I have to do to solve this problem?https://etalon-ct.ru/ – the first
https://med.etalon-ct.ru/ – the secondApril 3, 2020 at 3:09 pm #1225627Leo
StaffCustomer SupportHi there,
This topic is super old.
Please take a look at this article here first:
https://docs.generatepress.com/article/font-awesome/And open a new topic if you need further help on this.
Thanks!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/April 4, 2020 at 12:07 am #1225860Nickita
Thx a lot!
April 4, 2020 at 8:41 am #1226428Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.