The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Alternate usergroup colours
Does anyone know of a way to alternate usergroup colours depending on the theme?
Example: vs If I wanted the Administrator to appear Black on the light theme, and White on the dark theme. |
#2
|
|||
|
|||
I think what you could do is make the html markups like this:
Code:
<span class="admin_username"> ... </span> Then you can edit the additional.css template in each style and put in different CSS for each. |
#3
|
|||
|
|||
Wow thanks, would it go anywhere in the additional.css?
|
#4
|
|||
|
|||
Yeah. I mean, of course you wouldn't put it in the middle of another class def, but other than that it doesn't matter.
Edit: just for completeness, you'd add something like this: Code:
.admin_username { color:black; /* or "color:#000000;" , if you'd rather do it like that */ } probably at the bottom of the additional.css, assuming there's anything in there to start with. Also, that example is just for admin usernames of course - you'd have to create a different class for each usergroup where you wanted to specify a different color. |
#5
|
|||
|
|||
Cheers, you've helped me out on my other vBulletin accounts before, you're a credit to the forum.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|