Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to change username color.
![nmaster2001](https://secure.gravatar.com/avatar/124197b71b3e975d85a8a4f25adb2dfa/?default=https%3A%2F%2Fvanillicon.com%2F6ad3b299482c64359de375c37761d0c2_100.png&rating=g&size=100)
Hey, i'm wondering if it is still possible to change your username color for Vanilla 2.1, i've tried the RoleTitle plugin, adding CSS to theme, and adding it to the custom.css, but nothing seems to be working.
Does this method not work? Or am I doing something wrong.
0
Comments
do you want you change all username colors to a different color,
or do you want to change username color based on role.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Based on roles.> @peregrine said:
with roletitle plugin - just add your css
e.g. this will change admin name to green within the discussion thread.
Use your web inspector or css tools.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Ok, thanks, that seemed to work, also, what do I put for a role with 2 words? Like 'Staff Manager' in the CSS?
And, is there any way to make the name color for the whole forums, not just in discussions?
.Role_StaffManager .Author a {
color:blue;
}
you could also change things on the profile page via css the .Role_Administrator class , etc appears there.
the discussions page would require plugin modifications.
someone else may want to spend the time and post all the necessary changes to plugin.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
hey peregrine,
I was able to change the color for the role, but is there a way to do it without Role titles plugin? or make it not show up?
I'm asking it because I already have yaga ranks enabled and showing up there...
What I need removed:
![](https://us.v-cdn.net/5018160/uploads/editor/v2/ai47vuit3soz.png)
Thank you very much!![:) :)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/smile.png)
@rustman
hide the title with css.
read a few css tutorials and web developer, or firebug tutorials on the web
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I've hidden the text, but it's still there when you hover.
This is what I've done:
.RoleTitle {
background-color: #FFFFFF;
color: #FFFFFF;
}
Is there a better way to do this?
how come you don't use
display:none
?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
LOL
Sorry my friend, I'm new to css. Looking for a complicated way to do do an easy task![:) :)](https://open.vanillaforums.com/plugins/emojiextender/emoji/little/smile.png)
thanks!
@rustman
no problem, you did exactly what all forum questioners might consider doing.
you provided an image and clear question of what you want to accomplish and what you tried.
and then you added a thanks and clicked on a reaction, and acknowledged the solution that worked for you.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine I have RoleTitles installed and I've followed the instructions listed here. The name colors won't change, I've tried adding !important as well.
Any ideas?
use http://vanillaforums.org/addon/cssedit-plugin
could be you are caching, and your old css is cached or you didn't disable cloudflare
if after disabling cache and cloudflare, or using cssedit you still have issues.
state exactly what you did step by step in detail
If you just say "I followed all the steps", I won't be able to help you.
post a screenshot of your image with web developer tools.
read the faq, if you don't know css or web developer tools to debug.
read the faq (all comments)
http://vanillaforums.org/discussion/28420/faq
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Using the CSSEdit plugin it now works. Thank you @peregine!