Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Change color of button text in UI Builder

Chenab Khanna
Tera Expert

Hi community,

Hoping for a solution on below - 

Within Compliance workspace, I have a requirement to somehow highlight the count of Overdue records under My Tasks in the right side (highlight in yellow) - 

ChenabKhanna_0-1725348930305.png

These counts are basically configured as buttons and data binded.

 

I have tried to change the color by writing css code but it does not work. Since, this is a button, I don't have the option to configure color as I did for Overdue score cards - 

ChenabKhanna_1-1725349113893.png

 

Can anyone help me with changing the color of those buttons either with css code or configuration?

 

Thanks in advance

 

2 REPLIES 2

Community Alums
Not applicable

Hi @Chenab Khanna ,

Please try with background option:

SandeepDutta_0-1725456473767.png

 

This will be shown to the audience you set here:

SandeepDutta_1-1725456528000.png

 

 

 

@Community Alums I don't need to set the color on the text "Overdue", instead I need to set the color of the 0(zero) that's showing beside Overdue