Less For public navigations

xF2 Template Modification Less For public navigations

DareSec

Inforc3r
Staff member
Administrator
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
May 25, 2019
Messages
1,381
Points
523

Reputation:

DareDevil submitted a new resource:

Less For public navigations - For public navigations

1589285428594-png.png

To add Font Awesome icons to navigation, just add such code to extra.less.
Less:
.navigation-icons (@nav-id; @fa-uid; @fa-type: false; @fa-size: false; @color: false) {
    .p-navEl-link,
    .menu-linkRow {
            &[data-nav-id="@{nav-id}"]:before {
                padding-right: 4px;
                & when (@fa-type = false) {
                    .m-faBase();
                }
                & when (@fa-type = 'Brands') {...

Read more about this resource...
 

wallas

Collaborate
Collaborate
Registered
Joined
May 20, 2021
Messages
195
Points
153

Reputation:

Hi, how to add 'Font Awesome 5 Duotone' icons?
 

BattleKing

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

Reputation:

DUO tones are much complicated and do not work everywhere
 
Top