How to make the Label in service portal red

anuravi23
Tera Contributor

Hi I have a label "Please Make attachment mandatory" and I need to display this text in red. Can anybody please let me know how I can achieve that

10 REPLIES 10

Community Alums
Not applicable

After reading several entries, it is understood that this is no "easy way" to color labels in the portal.  But exactly, how is it done?  HTML in the field does not seem to work. 

Marc Clasby
Tera Contributor

Here's a no code solution that works (London)

  1. Create Label Variable for you catalog item
  2. Question Tab: for Question just type in a space (it must have something)
  3. Question Tab: Add unique Name for label 
  4. Annotation Tab: Check Show Help and Always Expanded
  5. Annotation Tab: remove default 'More Information' Text
  6. Annotation Tab: Instructions now type in whatever you want as HTML Label for example: Notes (Optional)

The variable will look as expected on the Service Portal :

find_real_file.png

but this doesn't look good on platform

vell
Tera Contributor

it didn't work for me on Madrid:

- couldn't save the variable with  Question having just a space in it

- could'nt remove remove default 'More Information' Text

Marc Clasby
Tera Contributor

Sounds like an enhancement request to me (new annotation variable or allow container to allowed to always display help but without title). 

My no code label solution with a space was eliminated at some point since London. ServiceNow must check an do not consider space a character in required field string. I think insert and stay with a working one combined with list edit worked last time I needed one but thats just taking advantage of a different bug not the right solution.