Changing username color with CSS 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

    Changing username color with CSS

    Kryn Cluskio
    Kryn Cluskio
    Forumember


    Posts : 28
    Reputation : 3
    Language : English

    Changing username color with CSS Empty Changing username color with CSS

    Post by Kryn Cluskio January 31st 2013, 6:23 am

    I've checked the previous thread found here, but it didn't work for me.

    Here's what I got:
    Code:
    a[href="/u2"]{
      color: #ffffff !important;
      text-shadow:0px -1px 2px #FFC71F;
      background: url("http://img6.imageshack.us/img6/8437/smallkrom.png") no-repeat;
    }

    Is there something I'm overlooking?
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by runawayhorses January 31st 2013, 6:55 am

    Try this code:

    Code:
    a[href="/u2"]{
          color: #ffffff !important;
          text-shadow:0px -1px 2px #FFC71F;
          background-image: url('http://img6.imageshack.us/img6/8437/smallkrom.png');
          background-repeat: no-repeat;   
    }

    Or this one:

    Code:
    a[href="/u2"]{
              color: #ffffff !important;
              text-shadow:0px -1px 2px #FFC71F;
              background: url("http://img6.imageshack.us/img6/8437/smallkrom.png")
              background-repeat:no-repeat; 
        }
    Kryn Cluskio
    Kryn Cluskio
    Forumember


    Posts : 28
    Reputation : 3
    Language : English

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by Kryn Cluskio January 31st 2013, 7:11 am

    No difference. T-T
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by runawayhorses January 31st 2013, 7:13 am

    I edited my post and added another code to try.
    Kryn Cluskio
    Kryn Cluskio
    Forumember


    Posts : 28
    Reputation : 3
    Language : English

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by Kryn Cluskio January 31st 2013, 7:15 am

    Still no change, sadly.
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by runawayhorses January 31st 2013, 7:17 am

    Try this one, and make sure you are adding the right id number, the /u2 is a member id number.

    Code:
        a[href="/u2"]{
        color: #05EB0C !important;
        }
    ANGrey
    ANGrey
    Forumember


    Female Posts : 400
    Reputation : 39
    Language : English
    Location : OK

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by ANGrey January 31st 2013, 7:19 am

    Can you provide a link to your forum?
    Kryn Cluskio
    Kryn Cluskio
    Forumember


    Posts : 28
    Reputation : 3
    Language : English

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by Kryn Cluskio January 31st 2013, 7:26 am

    http://sc-fotr.forumotion.com/forum

    It's not mine, as in I didn't make it with my Email, but I'm the only other admin and in charge of the CSS stylesheet and other codes and such.
    ANGrey
    ANGrey
    Forumember


    Female Posts : 400
    Reputation : 39
    Language : English
    Location : OK

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by ANGrey January 31st 2013, 7:29 am

    The picture is showing up for me...

    I do not believe the CSS coloring can over-power the usergroup coloring.
    Kryn Cluskio
    Kryn Cluskio
    Forumember


    Posts : 28
    Reputation : 3
    Language : English

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by Kryn Cluskio January 31st 2013, 7:34 am

    I was afraid of that.
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by runawayhorses January 31st 2013, 7:38 am

    Then go to your usergroups in AP and disable usergroup coloring for the member you are trying to do this for.
    Kryn Cluskio
    Kryn Cluskio
    Forumember


    Posts : 28
    Reputation : 3
    Language : English

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by Kryn Cluskio January 31st 2013, 7:47 am

    That's what I was trying to avoid doing so as to not disturb the others in that group.
    ANGrey
    ANGrey
    Forumember


    Female Posts : 400
    Reputation : 39
    Language : English
    Location : OK

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by ANGrey January 31st 2013, 7:51 am

    Yep. Unfortunately not possible, unless you make another group for the user in question~
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by runawayhorses January 31st 2013, 7:53 am

    Yes but the background image coding should work regardless of the usergroups font coloring, so I'm still at a loss as to why the first codes using the background image from imageshack didn't work,
    ANGrey
    ANGrey
    Forumember


    Female Posts : 400
    Reputation : 39
    Language : English
    Location : OK

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by ANGrey January 31st 2013, 7:54 am

    @Runawayhorses;
    It did work, but the OP was trying to color this user's name differently from the group they were in. The picture worked from the beginning, I believe, but the color wasn't working because the user in question is in a colored usergroup.
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by runawayhorses January 31st 2013, 7:58 am

    Oh I see, he kept saying it wasn't working so I got the notion he meant the whole thing including the background image.
    Kryn Cluskio
    Kryn Cluskio
    Forumember


    Posts : 28
    Reputation : 3
    Language : English

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by Kryn Cluskio January 31st 2013, 7:59 am

    No, sorry for the confusion. It's just the color that wasn't working.

    Does that mean I mark it solved?
    avatar
    runawayhorses
    Hyperactive


    Male Posts : 2537
    Reputation : 166
    Language : English
    Location : United States

    Changing username color with CSS Empty Re: Changing username color with CSS

    Post by runawayhorses January 31st 2013, 8:18 am

    Not necessarily because I know its been done before under the same circumstances as you, it may take some javascript to make it work but its doable. If you keep this topic open maybe someone will tell you how you can do it.