- Discussions
- 4 647
- Messages
- 12 059
- Solutions
- 81
- J'aime
- 7 615
- Points
- 198
Would you like to have icons in sidenav on Account page like this?
Add this to your extra.less template :
To change the icon edit value after
Want a Pro icon of a specific style?
Want a Brand icon?
If you are using route filters edit in the code what you've changed with filters (for example: if you're using route filter for
Add this to your extra.less template :
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
Vous devez répondre avant de pouvoir voir le contenu des données cachées.
To change the icon edit value after
@fa-var-
.Want a Pro icon of a specific style?
If you want an icon with one of the Font Awesome 5 Pro styles -light
,solid
orduotone
- use the above code like this (example):.m-faContent(@fa-var-duotone-sign-in);
. As you can see, you add the style name (in that caseduotone
) inside the code right after the var-.
Edit.m-faBase();
and change it to.m-faBase('Pro', @faWeight-solid);
,.m-faBase('Pro', @faWeight-regular);
or.m-faBase('Pro', @faWeight-light);
.
Want a Brand icon?
In XenForo 2.3 you don't need to specify the Brands icon. Use the code as you would for any other icon.
Edit.m-faBase();
and change it to.m-faBase('Brands');
.
If you are using route filters edit in the code what you've changed with filters (for example: if you're using route filter for
account
to something-else
, then edit above code to suit.