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

View previous topic View next topic 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:
Code:

$(function(){
$('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: www.unitedcommunity.topdiscussion.com


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

Mr Rockeye
Forumember

Posts : 86
Reputation : 1
Language : English

http://www.unitedcommunity.tk

Back to top Go down

Solved Re: Username colors

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

Hello,

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

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

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.


SLGray
Administrator
Administrator

Male Posts : 35670
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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