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 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
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 July 14th 2013, 10:25 pm

Bump. Just set this code for few users.

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 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
Forumaster

Male Posts : 13028
Reputation : 2704
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 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
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 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
Forumaster

Male Posts : 13028
Reputation : 2704
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 July 15th 2013, 9:56 pm

Jes, same style.

Thank you. Very Happy

it is solved.

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 July 15th 2013, 10:19 pm

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
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