XF 2.1 Code help

Rettep

Member
Hello! Can you please tell me why this code works:

Code:
/* #### User Banners #### */
.userBanner.userBanner--Owner
{
    &:before {
        .m-faBase();
        .m-faContent(@fa-var-star);
        padding-right: 4px;
    }
}

But this doesn't:

Code:
/* #### User Banners #### */
.userBanner.userBanner--Owner
{
    &:before {
        .m-faBase();
        .m-faContent(@fa-var-star);
        padding-right: 4px;
    }
}

.userBanner.userBanner--HeadOfStaff
{
    &:before {
        .m-faBase();
        .m-faContent(@fa-user-shield);
        padding-right: 4px;
    }
}
 
Top Bottom