XenVn - Optimize Font Awesome for Xenforo 2

XenVn - Optimize Font Awesome for Xenforo 2

  • Thread starter Thread starter xenvn
  • Start date Start date
XenVn - Optimize Font Awesome for Xenforo 2.webp


XenForo uses Font Awesome Pro 5 which contains several thousand icons but where XenForo usually only uses a few hundred icons.
By removing unused icons, the size of the CSS, WOFF, WOFF2 files can be reduced and this improves page load times.


The XenVn add-on's Optimize Font Awesome feature will scan your system for all Font Awesome code in use. From there, create an optimal CSS code and WOFF, WOFF2 file for Font Awesome.

The feature is completely automatic, you just need to turn it on in the settings of XenVn. (Extra -> Optimize Font Awesome).
Note: When you change any Font Awesome code, run [XenVn] Rebuild FontAwesome in "Tools -> Rebuild caches" to update Font Awesome code data.

XenVn - Optimize Font Awesome for Xenforo 2-1.webp


XenVn - Optimize Font Awesome for Xenforo 2-2.webp


XenVn - Optimize Font Awesome for Xenforo 2-3.webp
 
Last edited:
Của mình bị lỗi một số biểu tượng Font Awesome với addons [MMO] Hide Bb-Code Content System và một số BB-code mình tự thêm vào như: fa-ellipsis-h, fa-hospital-symbol,... Mặc dù đã Rebuild caches nhưng vẫn không được.
 
@trunghn
Đã thêm quét Icon của Custom BBCode vào Rebuild Font Awesome. Bạn tải về bản mới nhất đè lên là được.
 
@xenvn
Mình thấy đã khắc phục được thêm một số icon Font Awesome, còn những icon này vẫn chưa khắc phục được: fa-ellipsis-h, fa-hospital-symbol, user-ninja, calendar-alt, trophy, user-tie, heart, heartbeat và user-shield. Mong bạn xem lại giúp, cảm ơn bạn rất nhiều!
 
@xenvn
Mình thấy đã khắc phục được thêm một số icon Font Awesome, còn những icon này vẫn chưa khắc phục được: fa-ellipsis-h, fa-hospital-symbol, user-ninja, calendar-alt, trophy, user-tie, heart, heartbeat và user-shield. Mong bạn xem lại giúp, cảm ơn bạn rất nhiều!
bạn thêm icon là ellipsis-h thôi, bỏ chưa fa- ở đầu thử xem.
 
@trunghn
Icon trong mục Custom BBCode bạn ko cần thêm chữ fa- ở đầu.

Chỉ thêm nó khi dùng kiểu fad fa-***
 
@xenvn
Uh. Mình thấy tất cả icon font awesome trong mục Custom BBCode đều không bị lỗi, nhưng ở trong mục BB code button manager thì chỉ còn duy nhất 2 icon bị lỗi là fa-ellipsis-h, fa-hospital-symbol, mình bỏ chữa fa- ở đầu cũng không được.

bb code button manager.webp

Mong bạn xem lại giúp mình. Cảm ơn bạn rất nhiều!​
 
I can't find it (Extra -> Optimize Font Awesome) XenVn v2.1.4
 
Similar threads Most view View more
Back
Top Bottom