Skip to main content
Paul_
Contributor ⭐️⭐️⭐️⭐️⭐️
Jan 17, 2024 10:17 AM UTC
Solved

Changing the color of the rank title via CSS?

Hi,

Is it possible to change the color of a specific (moderator) the rank title via CSS? I know about the settings in the back end but I specifically mean a specific rank title. 

I tried some stuff but I can't seem to target 1 specific rank title.💁🏾

 

 

    lauro.lana
    Helper ⭐️⭐️⭐️
    Jan 17, 2024 9:49 PM UTC

    Hey @Paul_, can you try adding this script? This should do the job, although it will change the color for all moderators

    <script>
    $(".usertitle.qa-usertitle:contains('Moderator')").css('color', 'green');

    </script>


     

    11 replies

    olimarrio
    Gainsight Employee ⭐️
    Gainsight Employee ⭐️
    Jan 18, 2024 12:57 PM UTC

    @Paul_ glad to see that @leo-inspired could help you out 🧙‍♂️

    To add rank titles you can do the following:

    $(".usertitle.qa-usertitle:contains('Moderator'), .usertitle.qa-usertitle:contains('Community Manager')").css('color', 'green');

     

    Translate