Changing the font size for email notification body did not effect the comments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2009 06:57 PM
Hi there,
I tried to change the font size and type of the email notification body by adding a line
<font size="2" face="Arial">.
However this did not change the font type/size of the comments that were coming from '${comments}'.
It looks to me that there is a default font type/size for that comments.
Is there a way to override this to maintain consistency?
Thanks.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2009 09:44 AM
windyzz,
We tested this and discovered that HTML tags affect everything in the message body BUT ${comments}.
Steve
Documentation
Service-now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2009 04:08 PM
Use the following wrapper for your entire notification body:
<span style="font-family: Arial, Helvetica, sans">
...
</span>
${comments} will inherit font family, but unfortunately will not inherit font size.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2019 12:24 PM
Hi @windyzz,
Its tricky one but it will work if try in the div tag for some reason p tag won't work for comments but it works everywhere else.
Example :
<p style="margin: 0.25in 0in 6pt; font-size: 11pt; font-family: Segoe UI, sans-serif;"><strong><span style="font-size: 12.0pt; font-family: 'Segoe UI', sans-serif; color: black;">Update Details</span></strong></p>
<div style="margin: 0.25in 0in 6pt; font-size: 11pt; font-family: Segoe UI, sans-serif;"><span style="font-size: 12.0pt; font-family: 'Segoe UI', sans-serif; color: black;">${comments}</span></div>
I did try everything else but this one works hope it works for you too.