How to change the Caller field colour in list view to Red & bold using Field Style

savitha5
Tera Contributor

Hi All,

I am trying to change the color of the Caller cell to Red & Bold if the Caller is VIP user.

I have tried the below style on Field style for Caller field in Incident table, but it only shows the VIP icon and the Name in bold but the color remains Black. Could somebody help me to fix this.

find_real_file.png

On Incident List view, the VIP users are shown in Bold, but need to change the color to Red.

find_real_file.png

Any help will be highly appreciated!

Thanks,
Savitha

 

1 ACCEPTED SOLUTION

Hi savitha,

please try to use

color:red;

and change the list control for incident table as set below:

find_real_file.png


View solution in original post

10 REPLIES 10

Omkar Mone
Mega Sage

Hi 

try with below style.

 

 

 

background-image: url('images/icons/vip.gif');

 

                      background-repeat: no-repeat;

 

                      background-position: 98% 5px;

 

                      padding-right: 30px;

 

background-color:red;

 

Mark correct if it helps.

 

Regards,

Omkar Mone

www.dxsherpa.com

Hi Omkar,

This adds Red color on the Icon but not on user name 😞

Is there a way to change the text color.

find_real_file.png

 

Thanks,
Savitha

Hi 

You can go with this client script given in the below link.

https://community.servicenow.com/community?id=community_question&sys_id=a33d4ba9db9cdbc01dcaf3231f96...

 

Mark correct if it helps.

 

Regards,

Omkar Mone

www.dxsherpa.com

ScienceSoft
Tera Guru

Hi savitha,

try to use the style below

find_real_file.png

It works as you expected:

find_real_file.png