Omnichannel

Security and Compliance

Adding Custom Fonts

A web font is one of the ways to create an original style for your email.  you can add a custom font from Google Fonts or another source in the email editor.

Font Sets in Yespo

There are three font sets in Yespo:

  • Standard fonts – supported by all email clients and devices.

  • Non-standard fonts – displayed on most modern devices.

  • Custom fonts – mainly used for banners custom fonts switch to standard ones when sending email.

Custom fonts allow you to create individual email designs.

Email clients that support custom fonts:

  • iOS Mail and Apple Mail;

  • Outlook 2016 and Outlook 2011 for Mac;

  • Android App and Android Mail 2.3, 4.2, 4.4;

  • Lotus Notes 8.

Adding Your Font to Yespo

  1. Open an email or create a new one.

  2. On the top panel of the editor, click the three dots icon and select My fonts.

Adding your font to Yespo

  1. Click the Add font button.

Add font

  1. In the New font window, enter the font parameters:

  • Font name

  • URL with CSS file

  • Family

All fields must be filled.

You can get font parameters in one of the following ways:

Font parameters

  1. Click Done.

  2. Confirm page restart.

Page restarting

After restarting the page, the added font will appear in the general font list.

You can select Do not restart if changes to the message have not been saved. Next, save the message and open it again – the font will become available.

Adding a Font from Google Fonts

  1. Go to fonts.google.com.

If you know the font's name, use the search or filter fonts by category, language, and properties (number of styles, thickness, angle, width, etc.). Also, you can sort fonts by trending, popularity, novelty, or name.

Google Fonts library

Important

Select only one font style because several styles will not load simultaneously. For 2 or more styles, add each new one separately after the previous one has been successfully added; for example, first add regular, then medium, bold, etc. They will be added to the editor as different fonts.

For example, let's add the Barlow with the SemiBold 600 style.

  1. Click the font field.

Font selection

  1. Click on SemiBold 600 + and click the trash icon to select a font style and display the block with options.

Font options block

  1. In the email editor, go to the My fonts tab and click the Add font button.

Adding a font from the Google Fonts library

  1. Add the Font name in the New font window.

Font name

  1. In the <link> tab copy the href attribute content as follows:

https://fonts.googleapis.com/css2?family=Barlow:wght@600&display=swap

Copying the href attribute

  1. Insert the copied link in the URL with CSS file field.

URL with CSS file field

  1.  Copy the family name from the CSS rules to specify families section in one of the formats::

  • Barlow

  • 'Barlow'

  • 'Barlow', sans-serif

  • 'Barlow', sans-serif;

Copy the name of the font family

  1. Insert the family name in the Family field and click Done.

Family field

Important

The value for Family must be copied directly from the fonts’ library. The font with a random name will be invalid.

  1. Click Restart now and confirm the page restarting.

Page restarting

Adding Your Own Font

Let's look at the Font Squirrel resource as an example.

To upload your font, you need to add the link to your server CSS file in the URL with CSS file field

  1. Go to fontsquirrel.

  2. Prepare and upload the TTF format font file and click Upload fonts.

Font Squirrel resource

  1. Click Download your kit and download the generated archive with stylesheet.css file.

 

stylesheet.css file

  1. Add src to the file stylesheet.css to your server with the necessary font in the format woff2 (the script in this format would be in the kit), for example:

@font-face {
font-family: 'Spartan';
font-style: normal;
font-weight: 200;
font-display: swap;
src: url(https://fonts.gstatic.com/s/manrope/v1/xn7gYHE41ni1AdIRggOxSuXd.woff2) format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  1. Upload the stylesheet.css file to the server.

  2. In the email editor, go to the My fonts tab and click the Add font button.

Adding your font

  1. In the New font window, add the font name, URL with CSS file, family, and click Done

Filling in the parameters

  1. Confirm page restart. 

Page restarting

Using the Added Font

You can use all fonts in email messages after adding them.

  1. Go to message and select the text.

  2. Click the Font tab and select the required one.

Using the added font

  1. A font will be applied to the selected text.

Editing/Deleting the Font

  1. Go to My fonts in the email editor.

  2. Click the pencil icon to edit or the cross icon to delete the font.

Editing/deleting the font

Important Notes

  1. If the font isn’t displayed in the email, check if it's available on the device you're viewing the email on. If it is not there, the text will be displayed in a standard font.

  2. Some fonts are only supported for languages that use the Latin alphabet and can’t be used for languages that use the Cyrillic alphabet.

  3. It is better not to use custom fonts for the main text but to place them on images; for example, add a banner to the text.

  4. The email subject line and preheader will be displayed in a standard font determined by the email client.

  5. When using a custom font, think about how it would look in email clients that don't support it. The text with the standard font may get bigger which may distort the layout. Test the email, configure an alternative font family, size and spacing for a correct display.

Any Questions?
We’re always happy to help!
Discount services
Schedule a Call
Fill in the form, and our specialists will call you back as soon as possible.
Discount services
Chat Support
We’re waiting for your questions!
Discount services
Email
Contact the support team