How can I change the color of the header and footer of a notification

jthomsen
Tera Contributor

Hi,

My client wants to have the header and footer of his notifications filled up completely in Green. Does anyone know how to do that? 

 

 

1 ACCEPTED SOLUTION

Hi @jthomsen 

 

Yes..you can do the following in Email Layout

 

Email Layout Record :

 

Step 1 : Create a table with single row in Layout field

 

VishalBirajdar_1-1708519716031.png

 

Step 2 : Select the create row in layout and click on table icon (dropdown) and select Table properties

 

VishalBirajdar_2-1708519836126.png

 

 

Step 3 : on Table properties select Advanced Tab & Put #00FF00 in Background color & click OK

 

VishalBirajdar_4-1708519940838.png

 

You can follow the same step for footer as well

 

Put '${notification:body}' between header & footer

 

Layout should look like this :

VishalBirajdar_5-1708520121353.png

 

 

That's it use email layout in Email template and email template in Notification...!!!

 

Final Result :

 

This is my Notification with template containing email layout

 

VishalBirajdar_6-1708520226191.png

 

 

Previewed Notification :

 

VishalBirajdar_7-1708520279678.png

 

 

 

Hope this helps.....!!!

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post

10 REPLIES 10

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @jthomsen 

 

https://www.servicenow.com/community/itsm-forum/how-to-branding-email-notifications-with-customized-...

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi,

When I change the color code in the code nothing changes for some reason

Hi @jthomsen 

 

Please share some screenshot of code.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

jthomsen_0-1708518586256.png