How to make bold letter for label field in Service Portal in ServiceNow

Vineela1
Tera Contributor

Hi Team,

Please suggest how to make "label" type text bold in Service Portal.

1) I tried with getLabel('field') , getControl('field') client scripts at catalog item. But changes are not reflecting on Service Portal.

2) Disabled "glide ui escape_text" property and added html tags. But still not working on the service portal.

 

changes visible on ServiceNow Instance but it is not reflecting in Service Portal . Please suggest inputs on this issue.

 

Thanks and Regards,

Vineela 

18 REPLIES 18

I don't get it, it should work - have just done a test on my PDI. Are you sure its the sc_cat_item you are using? should be something like sp?id=sc_cat_item in the url if so.

 

You could also do something like:

#requestor_information {
 background-color:gold;
}

To check if the CSS is selecting the correct element.

Hi Mark,

It is for CSM page.

I have made changes for csm_sc_cat_item and also page id "csm_ticket" which this catalog is refering to. But same issue.

 

It is not reflecting with updated changes. Please confirm do we need to clone the page to make any changes.

 

Thanks and Regards,

Vineela

Hi

 

No, there is no need to clone anything.

In the html you showed previously, requestor_information was an id, but in the CSS you are using . and : which are class and attribute selectors. Is that correct with your html?

SabaB
Tera Contributor

You can use the field type as 'Rich Text Label' and make it bold