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.

Changing username color with CSS

3 posters

Go down

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?
Kryn Cluskio
Kryn Cluskio
Forumember

Posts : 28
Reputation : 3
Language : English

Back to top Go down

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; 
    }
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

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
Kryn Cluskio
Kryn Cluskio
Forumember

Posts : 28
Reputation : 3
Language : English

Back to top Go down

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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

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.
Kryn Cluskio
Kryn Cluskio
Forumember

Posts : 28
Reputation : 3
Language : English

Back to top Go down

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;
    }
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

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?
ANGrey
ANGrey
Forumember

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

http://ninjascrolls.forumotion.com/

Back to top Go down

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.
Kryn Cluskio
Kryn Cluskio
Forumember

Posts : 28
Reputation : 3
Language : English

Back to top Go down

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

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

http://ninjascrolls.forumotion.com/

Back to top Go down

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.
Kryn Cluskio
Kryn Cluskio
Forumember

Posts : 28
Reputation : 3
Language : English

Back to top Go down

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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

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.
Kryn Cluskio
Kryn Cluskio
Forumember

Posts : 28
Reputation : 3
Language : English

Back to top Go down

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~
ANGrey
ANGrey
Forumember

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

http://ninjascrolls.forumotion.com/

Back to top Go down

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,
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

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

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

http://ninjascrolls.forumotion.com/

Back to top Go down

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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

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?
Kryn Cluskio
Kryn Cluskio
Forumember

Posts : 28
Reputation : 3
Language : English

Back to top Go down

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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Back to top

- Similar topics

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