XF 1.x Adding font awesome icons to user group banners

CarpCharacin

Registered
Is there any way I can add font awesome icons to group banners? I want to add a star for admins and a shield for moderators.
 

Russ

Pixel Exit Staff
Pretty simple to achieve, ideally you want to check:

Style Properties: [XB] Message and Elements -> unwrap User Banners

Then some basic CSS in extra.css:

Code:
.userBanner.bannerStaff:before {
color: #FFF;
content: "\f007";
font-family: FontAwesome;
font-weight: normal;
margin-right: 5px;
}

Screenshot_12.png
 

CarpCharacin

Registered
Ok I did that, and the icons don't show on the staff banner. I want to ideally add font awesome icons to group specific banners since I don't have the staff banner enabled.
 

Russ

Pixel Exit Staff
Ok I did that, and the icons don't show on the staff banner. I want to ideally add font awesome icons to group specific banners since I don't have the staff banner enabled.

You'll need to inspect each banner and find the class for it and adjust accordingly. This is for the default staff banner out of the box in XenForo.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.