Creating custom user group banner CSS

Creating custom user group banner CSS

I called it that.

You just give it any name you want and use the same CSS class name in EXTRA.css.
 
I called it that.

You just give it any name you want and use the same CSS class name in EXTRA.css.

Okay, just to make sure I'm understanding you correctly, I can put whatever I want in there without doing anything else first? For example, amaury_is_awesome? In your example, I thought "my-style" was being called from somewhere, but I guess not, huh?
 
Look at the main resource content again.

You will see the correlation between that field and what must be entered in EXTRA.css.
 
Look at the main resource content again.

You will see the correlation between that field and what must be entered in EXTRA.css.

Sorry, Brogan. I still don't know all the ropes of XenForo.

I see that EXTRA.css and the custom CSS field both share .userBanner my-style, so it looks like the "my-style" in the custom CSS is being called from EXTRA.css? I'm probably still not understanding, though.
 
@Brogan

I got administrators. What do you think?

Code:
.userBanner.administrators {
    color: #FFFFFF;
    background: #FFB030;
    font-weight: bold;
    font-size: 12pt;
}

R5dnMOT.png


Again, thanks for the help!
 
Hmm, hopefully someone can help here. I entered this as my extra.css
Code:
/* Custom Banners */
.userBanner.support
{
color: #FFF;
background-color: #330022;
border-color: #FFF;
}
/* End Custom Banners */
And it works fine, however the upper part of the banner... it's be better to just show you.
.1.webp

How would I fix this?
 
Hmm, hopefully someone can help here. I entered this as my extra.css
Code:
/* Custom Banners */
.userBanner.support
{
color: #FFF;
background-color: #330022;
border-color: #FFF;
}
/* End Custom Banners */
And it works fine, however the upper part of the banner... it's be better to just show you.
View attachment 68338

How would I fix this?

Just started playing with this and ironically I am at the same spot as @xlsabel38

Where is the class definition for .userBanner?
How can we set the color of the wrap around part of the scroll as shown in post above?

Thanks!
 
Hi @Brogan !

Sorry I am pretty new at this.

Try .userBanner.wrapped span

what would the css look like? - this?:

/* Custom Banners */
.userBanner.wrapped.support
{
color: #FFF;
background-color: #330022;
border-color: #FFF;
span: #FFF;
}
/* End Custom Banners */

Thanks!
 
Ok, the answer is:

Code:
/* Custom Banners */
.userBanner.support
{
color: #FFF;
background-color: #330022;
border-color: #FFF;
}
/* End Custom Banners */
.userBanner.support span {background-color: #FFF;}

Thanks to Mike from @Audentio!

I am sure this is what Brogan was trying to say too but I was too new to understand his answer.
 
Top Bottom