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 29th 2014, 1:01 am

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, 7:55 pm; 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, 9: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 : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

Back to top Go down

Solved Re: Username colors

Post by SLGray on June 29th 2014, 11: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 : 41882
Reputation : 2878
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