The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Overriding usergroup color markup?
Our postbit background is black so I'm trying to override the usergroup color for staff to white
I have a class in additional.css .staffcolor {color: #000000;} I just need help trying to figure out how to override the popup user name in the postbit. .staffcolor {color: white;} It's similar to this https://vborg.vbsupport.ru/showthread.php?t=282703 |
#4
|
|||
|
|||
Quote:
Some people online mentioned to make changes to this code. In popupmenu.css: Quote:
|
#6
|
|||
|
|||
If I use firebug and highlight username in postbit it brings this up. I can change the font size so I think this is the right spot but which css code to edit so we can change the color
--------------- Added [DATE]1418406645[/DATE] at [TIME]1418406645[/TIME] --------------- Quote:
.staffcolor {color: #000000 !important;} The staff color is black this is working fine but for the postbit our background is black so I want the username to be white. I just need to know where to put this code .staffcolor {color: white !important;} in css |
#7
|
|||
|
|||
The thing I don't understand is that the username doesn't seem to be in the popup menu on my forum. Either I don't understand what you mean, or else yours is different for some reason.
Are you trying to override .staffcolor just in the postbit (and not in other places it appears)? Like i said I'm weak on CSS, but maybe Code:
.memberaction.popupmenu .staffcolor {color: white;} |
#8
|
|||
|
|||
Correct i'm trying to override .staffcolor only for posbit
I will give that a shot. --------------- Added [DATE]1418407101[/DATE] at [TIME]1418407101[/TIME] --------------- Thanks everyone this worked Code:
.postdetails .staffcolor {color: white !important;} |
Благодарность от: | ||
MarkFL |
#9
|
||||
|
||||
If your staff usergroups are the only groups with HTML markup defined, then adding this CSS selector to your additional.css template should work:
Code:
div.username_container span { color: #FFFFFF !important; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|