Notifications
Clear all

Improve performance by using a lite version of font-awesome css

2 Posts
2 Users
0 Reactions
2,405 Views
 John
(@it-billingpayscale-com)
Member Customer
Joined: 9 years ago
Posts: 1
Topic starter  

I love your plugin, but it would be great if you could create a modified CSS file that only includes the font-awesome icons that are actually used by wpDiscuz.

Right now the full font-awesome CSS file is being loaded at about 40kb, even though the plugin is only using 10 or 20 icons.  It would be great if the plugin used a lite version of the css file that only includes the icons that are used, that would likely get the size down to 3 or 4 kb.


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6191
 

Thank you @it-billingpayscale-com,

Please navigate to Dashboard > Comments > Settings > Styling admin page enable the "Do not load Font Awesome css lib" option.

Important: please don’t disable this lib if other loaded CSS lib version is lower than 5.0.10.

More info here: 

https://wpdiscuz.com/docs/wpdiscuz-documentation/settings/styling/#fontawesome_lib

 


   
ReplyQuote
Share:
Scroll to top