- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 09:48 AM
This screen shot below is from an older version of Service Now (Someone who doesn't work here anymore made it and it was deleted). I recreated it but I cant get the colors and shading to look right, when I do a text background color it only goes to the end of the text and not to the end of the container:
This is how mine looks...
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016
11:14 AM
- last edited on
‎07-06-2023
11:18 AM
by
nkaura

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 11:11 AM
Show variables in two column
To make it colorfull please refer the link below.
i hope it will help you.
Changing background colour of a variable label in Helsinki
Thanks,
Harshvardhan
PS: Hit like or mark my answers as Helpful or Correct if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 11:23 AM
Now im really confused.. when I go to CMS, I don't have any sites listed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 11:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 11:49 AM
That doesn't look EXACTLY like I want it... but that will do!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-13-2016 12:03 PM
hmm. i just tried for two variables. you can design your form in same way that you want.
before implementing it on your instance , i would like to say, i have used DOM Manipulation and it's not a good practice to make some changes by using DOM.
i have written OnLoad catalog client script for this.
function onLoad() {
//Type appropriate comment here, and begin script below
var test= g_form.getElement('text').id.replace('sys_original.','');
var test1= jQuery("label[for='"+test+"']").css('backgroundColor','red');
var testing= g_form.getElement('yesno').id.replace('sys_original.','');
var testing1= jQuery("label[for='"+testing+"']").css('backgroundColor','grey');
}
Thanks,
Harshvardhan
PS: Hit like or mark my answers as Helpful or Correct if applicable.