Quote:
Originally Posted by Fongool
I found another way...a much easier way...
In the Admin CP, I find a specific user who I want to have a colored title and paste this in "User Title":
<b><font color="4ab4ed">Administrator</font></b>
You an substitute whatever you want in place of Administrator.
The hex color I have there is blue, but you can substitute any hex color you want.
Then below that in "Custom User Title"
Choose "Yes, Admin set (HTML Allowed)"...that's all...then they all come out in color... I did find this code on the forums, but I'm not sure where...
|
This seems to be a much more difficult way of doing it. As LouiseWilson, mentioned above is the best method to cover all usergroups.
In the first box for Admin I place this HTML
Code:
<span style="font: 13px Comic Sans MS; color: red; font-weight: bold;">
The above is correct HTML syntax, if I was just changing the color then the following would work:
Code:
<span style="color:#FF0000">
#FF0000 is the hex for the color red. Now in the second box you would have to have your closing tags.
Using the <span> element you may have many things included, as in my first example. I have Font size, font type, font color, and I want it to be bold. That is the proper way to use HTML.
For your current code I would change it to:
Code:
<span style="color: blue; font-weight: bold";>Administrator</span>
But I'm glad your way is working!