Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 May 2012, 18:26
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
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.
Reply With Quote
  #2  
Old 09 May 2012, 18:30
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 09 May 2012, 19:10
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
#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
Reply With Quote
  #4  
Old 10 May 2012, 17:09
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You have this on that page:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You should use a class for the username, instead of a style.
This:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Instead of this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then you add to additional.css:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And also add this for the profile pages:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

See if something like that works.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 17 May 2012, 05:10
RetroDreams RetroDreams is offline
 
Join Date: Nov 2002
This totally works. Thanks a ton!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Username color on forumhome (as based on usergroup markup) MentaL vBulletin 3.6 Template Modifications 17 16 Sep 2007 16:42



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:21.

Layout Options | Width: Wide Color: