Solved Custom colors for the banners

hoerspiel

Licensed
Licensed
Gamer Banners
Joined
Jul 24, 2019
Messages
2
Reaction score
1
Is it hard to set a custom color for the banner?
The pre-defined from xenforo are ok, but may be, you have a tutorial for that.
There is a field for css-class, but that is over my knowledge.

Anyway, if its to complicated, i will just use the pre-defined banner colors.

Very nice add-on, good work, i am happy :).
 
Solution
Hello,

It's very easy ! (y)
In "Other, use custom CSS class" :
userBanner bannerWOW

Explain :
  • userBanner : the default class from XenForo.
  • bannerWOW : your custom class.
Now here is my class in EXTRA.less :
Code:
.bannerWOW {
    background: #009688;
}

That's all you need, you can add more CSS like : color, icon, etc.

Regards, SyTry
Hello,

It's very easy ! (y)
In "Other, use custom CSS class" :
userBanner bannerWOW

Explain :
  • userBanner : the default class from XenForo.
  • bannerWOW : your custom class.
Now here is my class in EXTRA.less :
Code:
.bannerWOW {
    background: #009688;
}

That's all you need, you can add more CSS like : color, icon, etc.

Regards, SyTry
 
Solution
Top Bottom