How to change Font awesome icons to duotone?

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
325
Points
73

Reputation:

image.png

image.png


I could change others that were like fal fa-blablabla (fab fa-balblabla) but no idea how to do with this content code
Although I use Font awesome manager I have enabled duotone icons

I want to change the ones in my navigation
 
Last edited:

Kenpachi

Well-known member
Registered
Joined
Oct 1, 2019
Messages
173
Points
53

Reputation:

With one of thoses you want to change?
 

shqawe

Well-known member
Registered
Joined
Jun 30, 2019
Messages
60
Points
28

Reputation:

The easy way to use font awesome icons in css template is to use xenforo fa function like this

CSS:
.p-navgroup-link.p-navgroup-link--register i::after{
    .m-faBase('Pro');
    .m-faContent(@fa-var-user);
}

And all what you need is just change [ user ] with tha name of icon in this code .m-faContent(@fa-var-user)
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
325
Points
73

Reputation:

The easy way to use font awesome icons in css template is to use xenforo fa function like this

CSS:
.p-navgroup-link.p-navgroup-link--register i::after{
    .m-faBase('Pro');
    .m-faContent(@fa-var-user);
}

And all what you need is just change [ user ] with tha name of icon in this code .m-faContent(@fa-var-user)
shqaweThat will do nothing different since those icons are defined in the templates already that point directly back to the same icon
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,533
Points
523

Reputation:

image.png

image.png


I could change others that were like fal fa-blablabla (fab fa-balblabla) but no idea how to do with this content code
Although I use Font awesome manager I have enabled duotone icons

I want to change the ones in my navigation
Thanos Crax.m-faBase('Brands');

Brands need to be changed to Solid Pro Thin Duotone ... so far as I know.
 
Top