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.

Changing username colors in 2.1

ZhaanZhaan Professional fool ✭✭

I want to change the username colours for specific roles (primarily admins/mods), but the RoleTitle plugin doesn't seem to be fully compatible with 2.1, so I cannot use that method.

Any tips on how this can be done? Thanks in advance!

Comments

  • ZhaanZhaan Professional fool ✭✭

    Guess it can't be done without the plugin then? :(

  • 422422 Developer MVP

    does each role title have a different ID ? if so you could use css

    There was an error rendering this rich post.

  • ZhaanZhaan Professional fool ✭✭

    As in an ID number? I'm not sure where to find those..

    This is what I attempted to do earlier, but it doesn't do anything in 2.1:

    .role-administrator .Comment .Meta .Author a { color: #FFC125 !important; } .role-moderator .Comment .Meta .Author a { color: #0ecae9 !important; } .role-member .Comment .Meta .Author a { color: #ffffff !important; } .role-guest .Comment .Meta .Author a { color: #ffffff !important; } .role-banned .Comment .Meta .Author a { color: #444444 !important; text-decoration: line-through !important; }

  • KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • ZhaanZhaan Professional fool ✭✭

    I upgraded, but it still doesn't change anything :(

  • KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    It works just fine, you'll just have to adjust your CSS to the 2.1 version of the plugin:

    Role_[whatever] {
        // Whatever
    }
    

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • ZhaanZhaan Professional fool ✭✭
    edited February 2013

    So like this?

    .Role_Administrator .Comment .Meta .Author a {
    color: #65b138 !important;
    }

    As you can tell, I'm kind of clueless when it comes to CSS.

  • ZhaanZhaan Professional fool ✭✭
    edited February 2013

    That didn't work :(

  • trololol

Sign In or Register to comment.