View Full Version : Username colours are being replaced by CSS? [Help please!]
DiageoLiam
03-15-2008, 02:36 PM
Hey guys,
I have 12 different usergroups on my forum, each with different coloured names - such as green, blue, pink etc.
On the 'Users Online' list, all of the usernames are in the same colour, specified in the style's CSS. Does anyone know how to combat this problem?
Thanks
http://img292.imageshack.us/img292/8471/usernamecolourswy3.jpg
nexialys
03-15-2008, 03:42 PM
your css is not written properly, and have to indicate what is the element is wrapped in the same...
ex: .smallfont #yourstyle a:link { font-weight: bold; color: #000; }
DiageoLiam
03-15-2008, 04:39 PM
If I copied and pasted that into the CSS, would it work?
If so, where do I paste it?
I didn't make the layout so I'm hopeless at this!
Thanks :)
Opserty
03-15-2008, 04:40 PM
Can you provide a link?
Lynne
03-15-2008, 04:42 PM
As Opserty asked, a link would really help because then we can see the source code.
DiageoLiam
03-15-2008, 04:42 PM
<a href="http://www.ditchthelabel.com/forum" target="_blank">www.ditchthelabel.com/forum</a>
name: form
password: exclusiv
Lynne
03-15-2008, 05:08 PM
This is what you have for the Administrator:
<b><u><font color="006EEA">Administrator</u></b></font>
You need to have it as:
<b><u><font color="006EEA">Administrator</font></u></b>
Or, better yet:
<span style="font-weight:bold; font-style:italic; color:006EEA;">Administrator</span>
DiageoLiam
03-15-2008, 05:10 PM
But that isn't in the CSS? :s
Opserty
03-15-2008, 05:26 PM
You need to use this markup for the usergroup Username HTML Markup (Its in the bit where you edit the Usergroups):
Start:
<span style="font-weight:bold; text-decoration:underline; color:#006EEA;">
End:
</span>
This does not have anything to do with your CSS, you were missing the pound (#) symbol in the Hexadecimal colour codes.
Adding or Editing a Usergroup (http://www.vbulletin.com/docs/html/usergroup_add)
DiageoLiam
03-15-2008, 05:27 PM
Oh, hahaha!! Thanks :)
Lynne
03-15-2008, 06:00 PM
This does not have anything to do with your CSS, you were missing the pound (#) symbol in the Hexadecimal colour codes.[/URL]
Darn! I didn't notice he was missing the pound symbol since I use the CSS only put and actually color name in there.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.