All Collections
Maintenance
Template
Create e-mail template: set font
Create e-mail template: set font

Changing the font in an E-mail template

Updated over a week ago

Solution

You need to change the e-mail templates. Carerix offers a centralized way to realize this.

Change the emailHeader

The e-mail header is a piece of code that can be put in every template. The advantage is that you have a consistent style in every template. 

To modify the e-mail header, follow the following steps:

  1. Log in as Administrator

  2. Go to 'Maintenance' | 'Settings' | 'Template parts'

  3. Open the 'emailHeader'

  4. Fill in the desired style codes (see below)

  5. Save the changes

Example style code

<STYLE type=text/css>
.cx, li, p, body, span {
margin: 0;
font-family: Verdana, sans-serif;
font-size: 11px;
color: #333333;
}
</STYLE>

Remark:

  • <span> and <div> codes can cause problems. Use <p> instead.

<p class=cx>
...
</p>

Modify e-mail templates

The e-mail header is automatically integrated in the templates with the following code:

BLANK, REPLY, and FORWARD.

If you want to put the e-mail header above e-mail templates, add the following code to the first line of the template:

<cx:include template="$settings.template.emailHeader"/>

Only in the Staffing and Recruitment editions can templates be added / modified.

Tips

emailFooter

The same way, the e-mail footer can be created and used. 

Different font

If a different font is desired, for example for a disclaimer, then you can define an extra style:

<STYLE type=text/css>
.cx, li, p, body {
margin: 0;
font-family: Verdana, sans-serif;
font-size: 9pt;
}
.cxsmall {
margin: 0;
font-family: Verdana, sans-serif;
font-size: 7pt;
}
</STYLE>

You can use this font by using the just created class:

<p class=cx>
...
</p>
<p class=cxsmall>
Disclaimer ...
</p>

----
Keyword: UD-1714

Did this answer your question?