Please consider supporting us by disabling your ad blocker.


Our website is made possible by displaying online advertisements to our visitors.
  • Thank You For Visiting CyberSensus Forum
    You can download Unlimited FREE Resources and You can download VIP resources by just upgrading your account for only $3..
    You can also ask questions and request for any resources by just creating a thread for free




Tutorial Xenforo 2.X Font Awesome Icons in Navbar for 2.1

Cyber

Administrator
Staff member
Entitled
PHP
276.177
Cyber Credits
30,030
Enter code in the extra.less
Before


font-awesome-icons-in-navbar.png


After

font-awesome-icons-in-navbar-1.png




Less:
.p-navEl a::before{

    font-family: 'Font Awesome 5 Pro';

    padding-right: 5px;

}

.p-navEl a[data-nav-id="home"]::before{content: "\f015";}

.p-navEl a[data-nav-id="forums"]::before{content: "\f27a";}

.p-navEl a[data-nav-id="whatsNew"]::before{content: "\f0e7";}

.p-navEl a[data-nav-id="xfmg"]::before{content: "\f030";}

.p-navEl a[data-nav-id="xfrm"]::before{content: "\f019";}

.p-navEl a[data-nav-id="members"]::before{content: "\f0c0";}

.p-navEl a[data-nav-id="newPosts"]::before{content: "\f005";}

.p-navEl a[data-nav-id="findThreads"]::before{content: "\f00e";}

.p-navEl a[data-nav-id="watched"]::before{content: "\f06e";}

.p-navEl a[data-nav-id="searchForums"]::before{content: "\f002";}

.p-navEl a[data-nav-id="markForumsRead"]::before{content: "\f070";}
 

D A R K Z

Member
Entitled
PHP
0.291
Cyber Credits
579
Nqys boss
 
Thread starter Similar threads Forum Replies Date
Cyber Add-ons 0
Top