- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 08:44 AM
When Mandatory information is missing it shows the relevant fields on the right of the Record Producer/Request Item. However the field name has a dark gray background which makes it hard to read as displayed below. I want to change it to white.
Any help appreciated
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 09:06 AM
@Jeannette2 You should be able to adjust the background color using the following step.
1. Search for the CSS in application navigator. Find CSS with name ec-theme-catalogs. Click to open it.
2.
Adjust the background color in class sc-field-error-label
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 09:03 AM
that is not OOB behavior. Please check if any of your CSS changes causing that issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 09:06 AM
@Jeannette2 You should be able to adjust the background color using the following step.
1. Search for the CSS in application navigator. Find CSS with name ec-theme-catalogs. Click to open it.
2.
Adjust the background color in class sc-field-error-label
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 12:01 AM
Thank you Sandeep, but the CSS is exactly the same as yours above.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 09:12 AM - edited 05-20-2024 09:13 AM
Hi there,
Is this suddenly? Or after applying a patch for example? Or some other styling on the theme?
I haven't looked into the theme if there is something specific for the required information. So check that first!
If not, you can overwrite this behavior using CSS. For example I've used the browser inspector to see which element this concerns:
Knowing this, I opened the widget instance displayed on the Employee Center page concerned, and added this CSS:
button.label.sc-field-error-label.sc-reqd-info-btn.ng-binding {
background-color: red;
}
Give it a try, by also inspecting the page and see if the same element applies to you or something different and choose the styling you are after. (your image looks a bit different than mine)
Perhaps also this older article of mine helps:
- 2020-05-18 - Article - Changing Service Portal widgets look and feel without cloning widgets
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field