How to change notification table background color

nameisnani
Mega Sage

Hi ,

 

we have a requirement that we need to change background colour .

 

How to impelement this .

 

SunilKumarPadh_0-1669611368557.png

 

 @Saurav11 @kamlesh kjmar @Community Alums 

2 ACCEPTED SOLUTIONS

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @nameisnani ,

 

Open email template and switch to Rich HTML editor by clicking on UI action as below :-

GunjanKiratkar_1-1669615223627.png

 

Then change background color from EDITOR.

 

GunjanKiratkar_0-1669615172508.png

 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

View solution in original post

Hello,

 

As I had mentioned in my first answer do the below:-

 

Select the table and Click on the icon as in the screenshot:-

 

Saurav11_0-1669616130198.png

 

 

Once you click on the icon the below will appear then click on color picker as below:-

 

Saurav11_1-1669616130579.png

 

 

Then select the exact color you want to add. You can also use # to enter the color code as below:-

 

Saurav11_2-1669616130270.png

 

 

Please use the below link to find the code of any color:-

 

https://www.w3schools.com/colors/colors_names.asp

 

Saurav11_3-1669616130255.png

 

Please mark my answer as correct based on Impact.

View solution in original post

14 REPLIES 14

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

How have you created the table using email script or from the notification Body HTML itself?

 

If it is from the body html you can use the below:-

 

Notification -> What it will contain(tab) -> Message HTML -> Above the editor we have many options to make use of, one of them is background color as highlighted in the below screenshot.

Saurav11_0-1669611809197.png

 

This would help you to update the background color of that particular notification alone.

 

But if it is using email notification script please share you code so that I can update it accordingly.

 

Please mark my answer as correct based on Impact.

Sagar Pagar
Tera Patron

Hi @nameisnani,

 

Can you share your notification and email scripts here? You have to modify it accordingly to add background-color.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Community Alums
Not applicable

Hi, share the notification/email scripts screenshots. 

Color code might have defined, you'll have to modify it accordingly

@Community Alums @Saurav11 @Sagar Pagar 

 

SunilKumarPadh_0-1669614063742.png

I think there is no email script