Gradient username colors dont work, why?

If I use this for my moderators the css code works

.names {
  span.moderator a {
    background: linear-gradient(to right,#BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

Now if I use the same code, just including the DexPremium group, those who participate in the group do not change their names

.names {
  span.DexPremium a {
    background: linear-gradient(to right,#BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

why?

Hello,

Here is a topic about the same question. :slightly_smiling_face: The solution and the why is in the answers.

4 Likes

Hello,

It should work for DexPremium group if the group is set as primary.

.names {
  span.group--DexPremium a {
    background: linear-gradient(to right,#BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
2 Likes