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.

Role Colors?

So, I'm new to Vanilla. And I'm running the latest version. Does anyone know how I go can go about giving colors to certain roles. Because, I would like my forum's staff to have colored names on the forum. Just so that they're easily identifiable and such.

Comments

  • hgtonighthgtonight ∞ · New Moderator

    Welcome to the community!

    You could use the Role Title plugin and some custom css to achieve this effect.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • @FrozenMan said:
    So, I'm new to Vanilla. And I'm running the latest version.

    So we're narrowing it down to 2.0.18.8 or Beta or cutting edge alpha ... my money is on 2.0.18.8

    There was an error rendering this rich post.

  • I imagine that I would add the css to custom.css in the theme that I am using, right? Also, does anyone have any idea what that css would look like? I'm personally not great at css. Java is more my thing.

  • hgtonighthgtonight ∞ · New Moderator

    Once you find the role class, you would use something like this:

    .ThisIsNotTheRealSelectorYouWillHaveToFindItAsItIsCustomToYourRoleSettings {
    background-color: #ff0000; /* This is rgb hex value of the background color */
    color: #00ff00; /* This will be the text color */
    }
    

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Thank you. It means a lot. Time to get to work!

Sign In or Register to comment.