Change the font size of a section?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2015 11:30 AM
Is it posible to change the font size of a section on a form? Thanks
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2015 12:09 PM
If I'm not mistaken, you have control over the font size when setting: the base font size, navigator menu font size, and font size for the header. These can be found within the CSS properties. You may also change the font size of each field by right-clicking the label of the field and selecting 'Personalize Styles'. Create a new style for that field and enter some CSS into the style box such as 'font-size:16px';.
Defining Field Styles - ServiceNow Wiki
Customizing the UI Appearance - ServiceNow Wiki
Regards,
Tony Shabani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2015 01:50 PM
I just tested the following client script on my developer instance and it worked like a charm:
function onLoad() {
//make the font bigger on the activity section
jQuery('.activity_field').css("font-size","xx-large");
}
So it is possible. This example was run on the incident form. You just need to be able to identify the section you want to affect. I used my browser's "inspect element" function to peruse the incident form and chose an area identifiable by class.
What do you want to change font size on?