The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Overriding usergroup color markup?
I've got colors defined per usergroup like many forums do. However, on profile pages some of the colors clash because of the block's background color. Is there any way to override the usergroup colors for a singular color on the member profiles?
I know what CSS variable it is but nothing I do seems to work. |
#2
|
||||
|
||||
What is the css variable?
What have you tried so far? How about a link to a profile you are trying to do this on? |
#3
|
|||
|
|||
#userinfo .member_username is the CSS variable. I know it works because it does mark up the profile for those usergroups without any color. Can't really remember everything I've tried. Changing from font color to span style, !important and the like. When I inspect the element, basically it shows the element.style color overriding the #userinfo .member_username color I've set in additional.css.
Link: http://www.sycamorepride.com/member.php?1-Jason-Svoboda |
#4
|
||||
|
||||
You have this on that page:
HTML Code:
<span class="member_username"><span style="color:#0046ad;">Jason Svoboda</span></span> This: HTML Code:
<span class="usergroup6">
HTML Code:
<span style="color:#0046ad;">
HTML Code:
.usergroup6 {color: #0046ad;} HTML Code:
#member_content #sidebar_container .usergroup6 {color: white;} |
#5
|
|||
|
|||
This totally works. Thanks a ton!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|