The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.

Create a free forum like this one.

Username colors

Go down

Solved Username colors

Post by Mr Rockeye on June 28th 2014, 5:01 pm

Hey so I used the tutorial of coloring names with Java code and wanted to try some my self.
I wanted the code to specify a group and than have that group a specific color, while the user holds his original name.
This is the code I used:

$('a span[style="color:#CC0000"]').not(function(){return $("img",this)[0]}).html('<STYLE TYPE="text/css"><!-- .postprofile dl dt br { color:#CC0000; } --></STYLE>');
I want to give the users some kind of background glow but did not succeed in getting the CSS element right.

My forum:

Last edited by Mr Rockeye on June 29th 2014, 11:55 am; edited 1 time in total
Mr Rockeye

Posts : 86
Reputation : 1
Language : English

Back to top Go down

Solved Re: Username colors

Post by Ange Tuteur on June 29th 2014, 1:57 am


If you want to add a glow to members of a group you can use this :
a span[style="color:#CC0000"] strong { text-shadow:0 0 6px #CC0000; }
Ange Tuteur

Male Posts : 13188
Reputation : 2900
Language : EN10, FR5, JA5
Location : Macungie, PA

Back to top Go down

Solved Re: Username colors

Post by SLGray on June 29th 2014, 3:35 pm

Is this solved?

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


Male Posts : 42336
Reputation : 2937
Language : English
Location : United States

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum