Skip to main content
Paul_
Contributor ⭐️⭐️⭐️⭐️⭐️
January 17, 2024
Solved

Changing the color of the rank title via CSS?

  • January 17, 2024
  • 11 replies
  • 253 views

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.💁🏾

 

 

    Best answer by lauro.lana

    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 ⭐️
    January 18, 2024

    @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');