XF 2.0 User Banners

Atmazphere

Member
Hi,
So in XenForo 1.x you added the banners to user_banners.css, but in this, it's a little different. The new template (I'm guessing) is app_user_banners.less instead of user_banners.css.

How would I go about converting this banner css into the new one?
CSS:
.userBanner.Premium{color: white;background-color: #5598e0;border-color: #5598e0;}
.userBanner.Premium:before{content: "\f0e7";font-family: FontAwesome;padding-right: 4px;}
 
Close the thread, figured this out. The first time around, I didn't add an "&".

Final code would be something like:
CSS:
&.userBanner--ADM{color: white; background-color: #c14d4d; border-color: #c14d4d;}
&.userBanner--ADM:before{content: "\f0e3";font-family: FontAwesome;padding-right: 4px;}
 
Top Bottom