Change CSS styles on field messages

Raki4
Tera Contributor

Hi All,

i would like to change the padding and margin of the field messages boxes, (showFieldMsg)

find_real_file.png

9 REPLIES 9

manjusha
Kilo Guru

hi,

Please use below link for setting style of field messages.

https://docs.servicenow.com/bundle/orlando-platform-administration/page/administer/navigation-and-ui/task/t_DefineFieldStyles.html

 

Thanks,

Manjusha

Gaurav Shirsat
Mega Sage

Hi Hemanth

In addition to Manjusha,I would like to add

  1. Navigate to the list of styles for the field in one of the following ways.
    • Right-click the field label on the form and select Configure Styles.
    • Navigate to System UI > Field Styles, and locate the field to apply a style (admin only).
  2. Click New, or click the style to modify.
  3. Complete the form.

https://www.servicenowelite.com/blog/2013/11/24/custom-field-styles

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat

Hi Gaurav,

These are not fields on the form, these are field message that we add using showFieldMsg methods.

It was small in the size before upgrade to Orlando but post upgrade it become big in size.

i could modify the padding and size on the browser if i do inspect element but not sure how to add this themes.

 

 

 

Hi Hemanth,

As per your information they were shown with small size before upgrade

Post upgrade you are facing this issue

Is this happening on all table form?

Regards
Ankur

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