- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2017 06:37 AM
Hello everybody,
I have a litte question about label type for catalog item variables. When I create a label on my training instance (Istanbul) near to variables I have this kind of result :
In previous version of Servicenow (we were working on Fuji patch 13), label appeared with a background-color, and customers liked it, they don't want to see label without background-color
I was wondering if it's possible to change the background-color or another parameter, but without manipulate DOM or work with bad practice.
I tried to modify stylesheet (on the content management application) but i think that label type has the same classname (html) than fields' labels :
Is there a solution or we have to use this label format only ?
Thank you very much.
Mehdi Batista
Solved! Go to Solution.
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2017 06:45 AM
At this point there is no supported way to color the background. Clever people may come up with a way to do it with DOM manipulation in a client script, but that always runs the risk of not working in future releases. I like the idea of making the background configurable.
I invite you to open an enhancement request! Our product managers DO listen.
Enhancement requests: Tell us how you would improve the ServiceNow product

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2017 06:45 AM
At this point there is no supported way to color the background. Clever people may come up with a way to do it with DOM manipulation in a client script, but that always runs the risk of not working in future releases. I like the idea of making the background configurable.
I invite you to open an enhancement request! Our product managers DO listen.
Enhancement requests: Tell us how you would improve the ServiceNow product
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 06:21 AM
Thank you very much for your answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2018 08:03 AM
I have a question- I was trying html in question for label type to give a size and color to it.
It was working at first but after sometime it got broken from all the instance do you have any idea? Is that not supported by servicenow?
below code i tried in Istanbul-
1) <font size="2" color="red">Impact</font>
2) <font size=2 color='black'><b>Environments and Systems:</b></font>
showing as code in catalog-

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2018 02:49 PM
That text is not rendered as HTML. If you want special formatting, consider putting your HTML in a UI macro and then adding the macro the form in the appropriate location.