We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Change font size

Sidhu9
Tera Contributor

Hello Experts,

 

How to change font size from Normal to BOLD, for reference I have attached a screenshot.

 

Thanks

SrinuFS.JPG

Thanks& Regards
Sidhu !
7 REPLIES 7

Sumanth16
Mega Patron

Hi @Sidhu9 ,

 

Change the size/length of a field

  • Right-click on the field label in the form you want to change the size for and select 'Configure Styles'. 
  • Select 'New' to create a new style for that field. 
  • In the 'Style' section enter the code " width: 500px !important; " (without quotes). Set the width size according to your preference. 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

Hanumanthu
Tera Contributor

Hanumanthu_0-1707932710861.png

Please use this script in onload client script

g_form.getLabel('u_number').style.color = 'blue';
   g_form.getLabel('u_comments').style.color ='Red';
g_form.getLabel('u_comments').innerHTML = '<strong>Comments:</strong>';

 

Dr Atul G- LNG
Tera Patron

Hi @Sidhu9 

 

You can use field style option. 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************