XF 2.1 Font Awesome Pro

191019

I can't get the submenu ones to work using that code @mcatze

this is what I have:

Code:
/***** Navbar icons *****/
.p-navEl a:before {
    .m-faBase();
    display: inline-block;
    text-align: center;
    padding-right: 5px;
    margin-top: 5px;
    border-radius: 30px;
    line-height: normal;
}

.p-navEl a[data-nav-id='EWRporta']:before {.m-faContent("@{fa-var-home}");}
.p-navEl a[data-nav-id='forums']:before {.m-faContent("@{fa-var-comments-alt}");}
.p-navEl a[data-nav-id='rules']:before {.m-faContent("@{fa-var-list-ol}");}
.p-navEl a[data-nav-id='voting']:before {.m-faContent("@{fa-var-poll}");}
 
View attachment 191019

I can't get the submenu ones to work using that code @mcatze

this is what I have:

Code:
/***** Navbar icons *****/
.p-navEl a:before {
    .m-faBase();
    display: inline-block;
    text-align: center;
    padding-right: 5px;
    margin-top: 5px;
    border-radius: 30px;
    line-height: normal;
}

.p-navEl a[data-nav-id='EWRporta']:before {.m-faContent("@{fa-var-home}");}
.p-navEl a[data-nav-id='forums']:before {.m-faContent("@{fa-var-comments-alt}");}
.p-navEl a[data-nav-id='rules']:before {.m-faContent("@{fa-var-list-ol}");}
.p-navEl a[data-nav-id='voting']:before {.m-faContent("@{fa-var-poll}");}

You should check the given icons here: https://fontawesome.com/icons?d=gallery

For submenus is another/more code neccesary.
 
You should check the given icons here: https://fontawesome.com/icons?d=gallery
Not all are supported as of now, though.

Notice the versions and which ones are, now,
Discord: https://fontawesome.com/icons/discord?style=brands (Version 5.0.0 -- Supported)
Blog: https://fontawesome.com/icons/blog?style=solid (Version 5.6.0 -- Not supported until next 2.1 Beta release)
Calendar: https://fontawesome.com/icons/calendar?style=solid (Version 5.0.0 -- Supported -- does it even look like a calendar?)
Calendar-alt: https://fontawesome.com/icons/calendar-alt?style=solid (Version 5.6.0 -- Not supported and looks more like a calendar to me)

There's not much difference in 5.6.1 or 5.6.3 that I'd like to see over the confirmed 5.6.0 addition, but the fire could be used for "hot" posts and exclamation-triangle for some sort of warning or alert.
 
canadian-maple-leaf (random 5.6.0) doesn't work as well, while you've shown one that does (calendar-alt). I'm wondering if there is 5.6.0 support, but not full support for it now?
 
Top Bottom