Gwendal
Developer
Moderator
Customer
Verified license
18 products
BoardGameHub
Classified
Drafts
Emporium
Emporium Client
GameHub
GroupFlair
Immersive Messenger
Journey
Level
Plans
Teams
Watch Party
XenCard
XenPing
XenSpotlight
XenStaff
XenStreak
You type an icon name in a navigation tab, a user group badge or an add-on setting, and you get nothing, a blank square, or even a server error. In XenForo 2.3 that almost always comes down to the icon name. Here is how XenForo 2.3 reads icon names, and how to pick one that works.
Two consequences:
How XenForo 2.3 draws icons
XenForo 2.3 no longer loads the Font Awesome web font. It ships the icons as SVG files, instyles/fa/ on your server, one folder per variant: solid, regular, light, duotone and brands. When a template asks for fa-crown, XenForo looks for crown.svg in the right folder and draws it inline or from a sprite.Two consequences:
- An icon only works if its file exists in that folder.
- The names are Font Awesome 5 names, the set XenForo bundles. Names introduced with Font Awesome 6 are not there.
Font Awesome 6 names that fail, and their 5 equivalents
Icon pickers and cheat sheets online now show version 6 names first. A few common ones and the name to use in XenForo 2.3:fa-xmark: usefa-timesfa-gear: usefa-cogfa-magnifying-glass: usefa-search
styles/fa/solid/ over FTP: if name.svg is not in the folder, XenForo cannot draw it. The same goes for names that never existed, such as fa-user-agent; fa-user-shield or fa-user-secret are real ones.The variant: fas, far, fal, fad, fab
Without a variant, XenForo uses your style's default, set by the Font Awesome weight style property (Appearance > Style properties > Typography): light, regular or solid. To force one, put its class before the name:fas fa-crown: solidfar fa-crown: regularfal fa-crown: lightfad fa-crown: duotonefab fa-discord: brands
Brand icons always need fab
Logos (Discord, YouTube, Twitch, Bluesky and so on) only exist in thebrands folder. fa-discord alone makes XenForo look in your default variant, where there is no Discord logo. Write fab fa-discord.Quick checklist
- Is the name a Font Awesome 5 name? Check that the SVG exists in
styles/fa/<variant>/. - Is it a brand? Add
fab. - Does it look too thin or too bold? Add
fas,farorfal, or change the Font Awesome weight of your style.
In XenGroupFlair
XenGroupFlair puts an icon next to the username of each user group (Admin CP > Group Flair > User groups). Its FontAwesome icon and Banner icon fields follow exactly the rules above:fa-crown, fas fa-bolt, fab fa-discord. Since version 1.0.5, a name that does not exist is refused with a clear message when you save, instead of breaking the page. Store page: XenGroupFlair, questions in the GroupFlair forum.