Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Font in email templates

Posted on by 30

Hi,

our customer has a 'house style' using Calibri as the font for emails.

No problem you would think, but it's a big problem as it turns out.

Within the email editor, there is only a very limited list of available fonts. Calibri is not in there.

When you format your email in word and then copy past it in a template and use that, then you check afterwards in the 'description' field of the entity email (use XrmToolbox - SQL4CDS f.ex) what the underlying html code looks like.

Now the really weird stuff is about to happen.

Try to add a header with on line 1 no text and font 'Courier new', line 2 text and font 'Calibri', line 3 no text and font 'Times New Roman'.

check the html code and you will see this:

<tr style="height:1.0cm;">
<td style="width:467.5pt;background:#B4C6E7;padding:0cm 5.4pt 0cm 5.4pt;height:1.0cm;" width=623 valign=top>
<p class=MsoNormal style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;"><b><span style="font-size:8.0pt;font-family:'Courier New';" lang=EN-US> </span></b></p>
<p class=MsoNormal style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;"><b><span style="font-size:13.0pt;" lang=EN-US>Beste meneer, mevrouw,</span></b></p>
<p class=MsoNormal style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;"><b><span style="font-size:8.0pt;font-family:'Times New Roman',serif;" lang=EN-US> </span></b></p> </td>

So for line 1 and 3 the font is explicitly added - for line 2 not!

I thought it might had to do with the fact that these 2 fonts (courier new and times new roman) are in the short list of available fonts in CRM so I tried 'open sans' which is not in the list on all 3 lines ...

this is what the HTML code looks like

<tr style="height:1.0cm;">
<td style="width:467.5pt;background:#B4C6E7;padding:0cm 5.4pt 0cm 5.4pt;height:1.0cm;" width=623 valign=top>
<p class=MsoNormal style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;"><b><span style="font-size:8.0pt;font-family:'Open Sans',sans-serif;" lang=EN-US> </span></b></p>
<p class=MsoNormal style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;"><b><span style="font-size:13.0pt;font-family:'Open Sans',sans-serif;" lang=EN-US>Beste
meneer, mevrouw,</span></b></p>
<p class=MsoNormal style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:normal;"><b><span style="font-size:8.0pt;font-family:'Open Sans',sans-serif;" lang=EN-US> </span></b></p>
</td>

Does anyone have any idea why D365 customer service dislikes 'Calibri' so much?

regards

Cindy

  • Filippa f Profile Picture
    Filippa f 160 on at
    RE: Font in email templates

    Hi,

    when I want to add a font i've just used this type of code in the <head> section:

    <link rel="preconnect" href="fonts.gstatic.com">

    <link href="fonts.googleapis.com/css2 rel="stylesheet">

    This is for Roboto. And ofcourse change the font in the rest of your code.

    Filippa

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans