Author Topic: Item to change users color name - how ?  (Read 2667 times)

Offline akulion

Item to change users color name - how ?
« on: May 29, 2006, 08:05:32 am »
ok this is a really simple one but i just cant figure it out lol

how can i create new items to change the users color next to the post?

can someone tell me what css code to use for -- red -- green -- purple?

thanks

Offline SKETCHi

Re: Item to change users color name - how ?
« Reply #1 on: May 31, 2006, 03:14:57 pm »
Well, I actually made an item to aide users such as yourself :). Check out this link http://www.daniel15.com/index.php?ind=downloads&op=entry_view&iden=5 for my name color/style change item.

But since you asked, I will explain a little CSS.

CSS, as well as many other languages, use hex codes for their colors. It's rather simple, you input values for each RGB color. RRGGBB, 990000, 99 Red, 00 Green, 00 Blue. The values go up to FF.

The syntax for CSS is rather simple as well.

Code: [Select]
selector { property:value }

For use with the Display Name CSS item, you do not need to worry about the selector. What you need is the property and a value for it. In the case of adding colors, "color" will be your property and the hex code for the color you want will be the value.

Red:
Code: [Select]
color:#FF0000

Offline akulion

Re: Item to change users color name - how ?
« Reply #2 on: June 01, 2006, 01:25:30 am »
thanks :D

i installed ur item and it works great :D

thanks for the explanation