How to make text of Label type in Bold

taqdeer
Tera Contributor

Hi All,

I want to make Header in Bold. I have created it as of Label Type and I am not able to make it bold and big. Could any one please help me in making this text bold. Below is the screenshot for the reference.

customization is header here. I want to make it bold in black color.

find_real_file.png

26 REPLIES 26

Hi,

Things to check

1) Did you set Isolate Script field to false for this Catalog Client Script

2) Try to increase the timeout to 5 seconds

3) Did you use the proper label value i.e. CUSTOMIZATION

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

1. I think you missed my above screenshot shows isolated script set to false.

2. I am also sharing you the label below for your reference.

find_real_file.png

 

3. Catalog Client Script :

find_real_file.png

 

Could you please have a look.

Hi,

So where it is not working?

Portal or Native

Update line number 7 as well

g_form.getControl('customization').setAttribute('style', 'font-weight: bold;color:blue');

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@taqdeer 

I believe I have answered your question with the approach.

Would you mind marking my answer as correct and helpful, to close this thread?

Regards
Ankur

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@taqdeer 

I believe I have answered your question with the approach.

Would you mind marking my answer as correct and helpful, to close this thread?

Regards
Ankur

 

 

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader