CarpCharacin
Registered
What do I add to extra.less to add Font Awesome icons to the navigation bar like what I've done with my XF1 site? I'm currently working on porting the customizations I've made to Flat Awesome+ on my XF1 site over to XF2.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
.p-nav-list .p-navEl-link
{
&:before
{
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
content: "\f086";
text-rendering: auto;
-webkit-font-smoothing: antialiased;
margin-right: 5px;
}
&[data-nav-id="home"]:before { content: "\f015"; }
&[data-nav-id="whatsNew"]:before { content: "\f0a1"; }
&[data-nav-id="xfmg"]:before { content: "\f030"; }
&[data-nav-id="xfrm"]:before { content: "\f085"; }
&[data-nav-id="members"]:before { content: "\f0c0"; }
}
It worked, thanks! So I just put it below the existing CSS?Whoops...
Code:.p-offCanvasAccountLink a:before { display: none !important; }
Does that help?
Very small view point, I was missing it tooThat is weird, I don't see that int he off canvas menu..![]()