Change hyperlink color on ServiceNow Classic UI

andelam
Tera Contributor

I would like to change the color associated with all the hyperlinks on the ServiceNow Classic UI (see image) but can't seem to find a solution. Is there a way to make this change?

2 REPLIES 2

Harish KM
Kilo Patron
Kilo Patron

Those hyperlinks are UI Actions, I dont think this is possible. You could change the button colors using DOM. But I would avoid DOM manipulations as those are not recommended by Servicenow.

Regards
Harish

Sayali Gurav
Tera Guru
Tera Guru

Hello @andelam ,

To change the color associated with hyperlinks in the ServiceNow Classic UI, you will likely need to use custom CSS. Here's a general guide on how you might approach this:

Navigate to ServiceNow Customization:

Log in to your  instance.
Go to the ServiceNow Developer menu.

Access Theme Customization:

Look for options related to theme or style customization. In the Classic UI, this might be under "UI Themes" or a similar section.

Edit CSS:

Within the theme customization section, you should find an option to add custom CSS.
Add CSS Rules for Hyperlinks:

To change the color of hyperlinks, you would typically use CSS rules like this:

css
Copy code
a {
color: #your_color_code;
}
Replace #your_color_code with the color code you want to use.

Save and Apply Changes:

Once you've added the CSS rules, save the changes and apply the theme.
Please note that modifying the CSS can have unintended consequences, especially if not done carefully. Always ensure you have a backup and thoroughly test any changes in a non-production environment before applying them to a live instance.

Keep in mind that the exact steps and options might vary depending on the specific version and configuration of your ServiceNow instance, so refer to the documentation or consult with your ServiceNow administrator if you encounter any difficulties.

 

Mark helpful or correct if applicable.

Thanks & Regards,

Sayali Gurav