Code for colors in nick... Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Code for colors in nick...

    Kralj
    Kralj
    Forumember


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

    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

    Solved Re: Code for colors in nick...

    Post by Kralj July 14th 2013, 10:25 pm

    Bump. Just set this code for few users.
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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.
    Kralj
    Kralj
    Forumember


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

    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???
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    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
    }
    Kralj
    Kralj
    Forumember


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

    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.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51556
    Reputation : 3519
    Language : English
    Location : United States

    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.