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 a Username's Colour Without Groups Using CSS

2 posters

Go down

Solved Changing a Username's Colour Without Groups Using CSS

Post by mgt98 Thu 23 Jun 2011 - 2:14

Hello.

I am needing a CSS code regarding the change of a username's colour without placing them in a group. In this post Nera. refers to using the CSS that was given also being able to change a user's colour. I fiddled around with it and couldn't find the correct code. Anyone or maybe Nera. herself can help me. Does anyone have that code?

~mgt98
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Changing a Username's Colour Without Groups Using CSS

Post by Nera. Thu 23 Jun 2011 - 8:01

Hi mgt,

The right code is in the topic
Code:
a[href="/u1"]{   
text-decoration: none !important; 
text-shadow: 0 0 0.2em white, 0 0 0.2em white, 0 0 0.2em white;
}

If you add it to your CSS you will get the glow for the founder of the forum, like this

username colors - Changing a Username's Colour Without Groups Using CSS 6Jve

u1 in the code represents the founder. You can change the number to the profile you want to change the color of.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Changing a Username's Colour Without Groups Using CSS

Post by mgt98 Thu 23 Jun 2011 - 8:04

Will that change the colour of the user's name though?
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Changing a Username's Colour Without Groups Using CSS

Post by Nera. Thu 23 Jun 2011 - 8:09

No but you can do only that if you want. With this code
Code:
a[href="/u1"]{ 
text-decoration: none !important;
color: red;
font-weight: bold;
}

The color is the part for the name color. Font-weight is there if you want to make them bold.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Changing a Username's Colour Without Groups Using CSS

Post by mgt98 Thu 23 Jun 2011 - 8:10

Thanks. I will try that in my CSS.
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Changing a Username's Colour Without Groups Using CSS

Post by Nera. Thu 23 Jun 2011 - 8:12

OK.

Solved ~ Locked
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top


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