The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Code for colors in nick...

3 posters

Go down

Solved Code for colors in nick...

Post by Kralj July 13th 2013, 7: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 July 15th 2013, 9:58 pm; edited 1 time in total
Kralj
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 July 14th 2013, 10:25 pm

Bump. Just set this code for few users.
Kralj
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 July 14th 2013, 11: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.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Code for colors in nick...

Post by Kralj July 15th 2013, 4: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???
Kralj
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 July 15th 2013, 7: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
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Code for colors in nick...

Post by Kralj July 15th 2013, 9:56 pm

Jes, same style.

Thank you. Very Happy

it is solved.
Kralj
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 July 15th 2013, 10:19 pm

Topic Solved & Locked


Code for colors in nick... Slgray10

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

Male Posts : 51576
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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