![]() |
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 |
I'm not a CSS expert or anything, but maybe something like:
Code:
.postdetails .staffcolor {color: white;} |
You can try with !important:
color: #fff !important; |
Quote:
Some people online mentioned to make changes to this code. In popupmenu.css: Quote:
|
Did you try adding "!important" to your CSS class definition as Dave suggested?
|
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
https://vborg.vbsupport.ru/external/2014/12/3.png?1 --------------- 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 |
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;} |
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;} |
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 |
All times are GMT. The time now is 07:27 PM. |
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:
|