![]() |
Alternate usergroup colours
Does anyone know of a way to alternate usergroup colours depending on the theme?
Example: https://vborg.vbsupport.ru/external/2012/12/19.jpg vs https://vborg.vbsupport.ru/external/2012/12/20.jpg If I wanted the Administrator to appear Black on the light theme, and White on the dark theme. |
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. |
Quote:
|
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 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. |
Quote:
|
All times are GMT. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|