Change the color of the button on Service Portal

Karthick PS
Tera Contributor

Want to change the color of the 'submit' button of the Record Producer in the Service portal.

Please help.

2 REPLIES 2

Zach Koch
Giga Sage
Giga Sage

This link should point you in the right direction 

Button color

If this resolved your issue, please mark this correct and helpful, thanks!

If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!

Shubham Tipnis
Kilo Sage
Kilo Sage

Hi Karthik,

1)You can try doing DOM manipulation(NOT RECOMMENDED) by adding a onload client script on your RP.

Something like below should help

document.getElementById('submit').style.backgroundColor = 'red' ;

 

2)You will have to add page specific css which will update the color of that button

.btn-primary {
 background-color: red !important; 
}

Please mark correct/helpful if applicable.

 

Regards,

Shubham

Regards,
Shubham Tipnis
 ServiceNow Enthusiast
️ 3x Rising Star (2022–2024) – ServiceNow Community
 Sharing insights, use cases & real-world learnings from the Now Platform
 Always learning. Always building.