- Discussions
- 4 839
- Messages
- 12 546
- Solutions
- 84
- J'aime
- 7 848
- Points
- 198
This is a DIY tutorial to achieve this :
As you can see you can get an icon that changes on hover only on new items just to highlight them a bit more.
Open your extra.less template and add the code :
To edit the icon check class
To change the icon color edit the
To edit icon when hover check class
Want a Pro icon of a specific style?
Want a Brand icon?
As you can see you can get an icon that changes on hover only on new items just to highlight them a bit more.
Open your extra.less template and add the code :
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
Pour consulter le contenu, vous devez : Se connecter ou S'inscrire.
To edit the icon check class
&:before. To change the Font Awesome icon edit the word dot-circle (in above example) with any other icon name.To change the icon color edit the
color property.To edit icon when hover check class
&:hover:before.Want a Pro icon of a specific style?
If you want an icon with one of the Font Awesome 5 Pro styles -light,solidorduotone- 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');.
