How to change color of the fields on "Data Table from Instance Definition" widget?

Aki17
Kilo Guru

I would like to change color of the fields on "Data Table from Instance Definition" widget in CSM Portal.

Could someone tell me how to change the color from red to other one?

find_real_file.png

Best Regards,

Aki

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

you have to insert the following CSS code in the Tab Misc of the Instance option of "Data Table from Instance Definition" widget with Title "Cases", you need also to put the same CSS code in the "Data Table from Instance Definition" widget itself, so you will need to clone it and change the setting in your instance to point to the cloned widget, change the color as per your need (I tested with black, it woks fine):

.th-title{
  color: black !important;
  
}

find_real_file.png

find_real_file.png

Here the result of the test in my personal instance:

find_real_file.png

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto

View solution in original post

1 REPLY 1

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

you have to insert the following CSS code in the Tab Misc of the Instance option of "Data Table from Instance Definition" widget with Title "Cases", you need also to put the same CSS code in the "Data Table from Instance Definition" widget itself, so you will need to clone it and change the setting in your instance to point to the cloned widget, change the color as per your need (I tested with black, it woks fine):

.th-title{
  color: black !important;
  
}

find_real_file.png

find_real_file.png

Here the result of the test in my personal instance:

find_real_file.png

If I have answered your question, please mark my response as correct and/or helpful.

Thank you very much

Cheers
Alberto