Change color of text on platform

JamesAcevedo88
Tera Contributor

I need to change the text color of the request plugin and the open store button in the Application Manager.  I attempted to use the theme builder, but I couldn't find the relevant property. Additionally, I tried inspecting the elements in the browser and changing the 'sys_ux_style' directly, but I couldn't identify the correct property. Specifically, I want to change the text color of those elements without affecting the rest of the text in the instance.

3 REPLIES 3

Ramesh Lohar
Kilo Guru


To change the text color of specific elements in ServiceNow, you can use CSS in UI Scripts or UI Pages. However, it's important to note that ServiceNow doesn't officially support custom CSS, so this could potentially lead to issues with future upgrades or patches. Here are the steps you can follow:

1. Create a new UI Script:
- Navigate to System UI > UI Scripts.
- Click New to create a new UI Script.
- Give your script a Name, and in the Script field, enter your custom CSS. For example:

var css = '.element-class { color:

For ServiceNow Live Classes, Books, Sample Resumes, Interview Questions, CSA Quizzes.
And getting better services's on ServiceNow you can visits our website.
Please visit : https://nowkb.com/home
Our Website :https://nowkb.com/home
nowKB.com

I have used the UX style record to change the different properties but i can pin point this exact properties and I'm trying to use the browser inspect tool too find it.

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @JamesAcevedo88 

 

My knowledge say it required changes at CSS level or may be at DOM level not 100% sure to make changes in this. 

*************************************************************************************************************
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]

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