XF 2.0 Staff Banner color change

Maestro2k5

Member
Hello and good evening, I would like to change the staff banner. Both the frame, font color and background. How do I realize that?
 

Dermot

Active member
i'd imagine something like this would work in extra.less

Code:
.userBanner.userBanner--staff {
    background: url("https://picturelink") no-repeat;
    color: green;
    border: 1px dotted pink;
}

...not tried it though
 
Last edited:

SyTry

Well-known member
Hello,

You can modify the CSS in the app_user_banners.less template :
Code:
    &.userBanner--staff,
    &.userBanner--primary
    {
        .m-userBannerVariation(@xf-linkColor, @xf-contentHighlightBg, @xf-borderColorHighlight);
    }

Regards, SyTry
 
  • Like
Reactions: ses
Top