Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

To change the font size in the HR Agent workspace

Dhanaja Rode
Tera Contributor

I want to change the font size of At a Glance section in the HR agent workspace.

 

DhanajaRode_0-1775763868696.png

 

2 REPLIES 2

lauri457
Tera Sage

These are the css variables used for the labels and values both. You'd need to define these variables or change their values in your ux theme if already defined. 

font-size: var(--now-display-type_label--font-size--sm, var(--now-font-size--sm, .75rem));

 

You can't edit these with css from UIB for the card because the texts in the card are in a shadowroot and you can only use the global selector in uib.

Tanushree Maiti
Kilo Patron

 In the UI Builder for your workspace, navigate to the specific page and component . Select the component in the At a Glance section and use the CSS or Style fields to apply custom font sizes.

 

Check the instructions from here:

Configuring the At a Glance section in Agent Workspace for HR Case Management (Configurable)

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: