Resource icon

XenForo 2.0 Adding Icons to the Navbar and Pop-up Menu Field

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,794
Points
823

Reputation:

LQD submitted a new resource:

Adding Icons to the Navbar and Pop-up Menu Field - Adding Icons to the Navbar and Pop-up Menu Field (forums,what's new,members)

Hi friends, I actually wanted to share with you if it was an arrangement I had made for a client. Although I've opened the topic to xenforo 2 template changes, it doesn't include any template changes. We have added the icon by using advanced Css selectors. Just add the following codes to the extra.less template.
CSS:
.p-navEl [data-nav-id="home"]:before {
    font-family: FontAwesome;
    content: "\f015";
    padding-right: 3px;
}

.p-navEl [data-nav-id="forums"]:before {...

Read more about this resource...
 
Top