Vyzkoušejte přednastavené kampaně a získejte první konverze do 15 minut.
Mailocator Engage / Vlastní HTML a JavaScript 2024-07-31 17:54:42

How to add custom fonts to contents

1. Download your fonts

2. Upload fonts to CDN (or any server) all types of font, not only *.eot etc.

3. Create font-face liked to font files

@font-face {
font-family: "Font Name";
  src: url('https://www.mlcdn.eu/fonts/font.eot');
  src: url('https://www.mlcdn.eu/fonts/font.eot') format('embedded-opentype'),
       url('https://www.mlcdn.eu/fonts/font.woff2') format('woff2'),
       url('https://www.mlcdn.eu/fonts/font.woff') format('woff'),
       url('https://www.mlcdn.eu/fonts/font.ttf') format('truetype');
  /* optionaly define font details */
  font-weight: normal;
  font-style: normal;
}

4. Use font face as a font-family :

ml-main * { font-family: 'Font Name', serif; }