Different background row colors in lists

Janmowo
Kilo Contributor

How can I change the background color of lists?

This is how the "change" list in my prod. Instance look like:

find_real_file.png

This is how i want it to look like (picture from my snow dev instance):

find_real_file.png

It's already working (by default) for the "incident" list, but not for "change","problem" and "case".

But i don't know how to change the list view from the first picture to the second.

The grey/white color should be helping users to differ between the rows more easily.

Thanks

Jan

1 ACCEPTED SOLUTION

Bhawana Upreti
Tera Guru

Hi,

Given thread will help you out.

 

Thanks.

View solution in original post

5 REPLIES 5

Nithish1
Tera Guru

Hi,

 

You should be able to add a system property called css.list.row.even.background.color and css.list.row.odd.background.color, leave the type as string and then give it a hexadecimal code in the value field.(Odd = white (#ffffff)) (Even = grey(#cfcfcf)) change the hexadecimal values if you want. Clear the browser cache and verify.   Try it in a test instance or one of the ServiceNow demo instances and see if that works.

 

Regards,

Nithish

 

Bhawana Upreti
Tera Guru

Hi,

Given thread will help you out.

 

Thanks.

It's working,

thanks a lot.

if it's working, would you mind marking answer as correct to close the thread.

 

Thank you! 🙂