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.

Code for colors in nick...

View previous topic View next topic Go down

Solved Code for colors in nick...

Post by Kralj on Sat Jul 13, 2013 6:41 pm

Hi,

I don't know how to name theme Smile
I use this code in css for some colors in user nick...
Code:
a[href="/u1"]{
text-decoration: none !important;
text-shadow: 0 0 0.2em black, 0 0 0.2em black, 0 0 0.2em blue
}
and it's work.
My question is: how I can set this code for few users? It's for u1 (or something else), but I wont that for few users (like: u1, u3...)

can somebody help me?


Last edited by Kralj on Mon Jul 15, 2013 8:58 pm; edited 1 time in total
avatar
Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Solved Re: Code for colors in nick...

Post by Kralj on Sun Jul 14, 2013 9:25 pm

Bump. Just set this code for few users.
avatar
Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Solved Re: Code for colors in nick...

Post by Ange Tuteur on Sun Jul 14, 2013 10:15 pm

You will change the selector to that of the user ID.

a[href="/u1"]{
text-decoration: none !important;
text-shadow: 0 0 0.2em black, 0 0 0.2em black, 0 0 0.2em blue
}

Change the underlined value in the selector to that of the users ID#. So instead of 'a[href="/u1"]', you would change it to 'a[href="/u2"]' for user number two and so on.. You will have to place multiple CSS codes for each user depending on the variation of effects of course.
avatar
Ange Tuteur
Forumaster

Male Posts : 13065
Reputation : 2738
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Code for colors in nick...

Post by Kralj on Mon Jul 15, 2013 3:49 pm

Yes, I know that, but I want to set few users: u1 (admin) and u4, and later maybe more. How i can do that???
avatar
Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Solved Re: Code for colors in nick...

Post by Ange Tuteur on Mon Jul 15, 2013 6:17 pm

@Kralj wrote:Yes, I know that, but I want to set few users: u1 (admin) and u4, and later maybe more. How i can do that???
SethC1995 wrote:You will have to place multiple CSS codes for each user depending on the variation of effects.

You would place the following in your stylesheet if you're using different styles for different users.
Code:
a[href="/u1"]{
text-decoration: none !important;
text-shadow: 0 0 0.2em black, 0 0 0.2em black, 0 0 0.2em blue
}
a[href="/u4"]{
text-decoration: none !important;
text-shadow: 0 0 0.2em black, 0 0 0.2em black, 0 0 0.2em blue
}

If you're using the same style for multiple users this should suffice:
Code:
a[href="/u1"], a[href="/u4"]{
text-decoration: none !important;
text-shadow: 0 0 0.2em black, 0 0 0.2em black, 0 0 0.2em blue
}
avatar
Ange Tuteur
Forumaster

Male Posts : 13065
Reputation : 2738
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Code for colors in nick...

Post by Kralj on Mon Jul 15, 2013 8:56 pm

Jes, same style.

Thank you. Very Happy

it is solved.
avatar
Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Solved Re: Code for colors in nick...

Post by SLGray on Mon Jul 15, 2013 9:19 pm

Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 37987
Reputation : 2561
Language : English
Location : United States

http://ztwds.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