Hi,
We need to use a custom font for the mails. The font is stored at a local file in the solution.
We tried to include it in the DefaultMail.cshtml template wiithout successs:
- Using font-face
<style type="text/css">
@@font-face {
font-family: 'helvetica_neueregular';
src: url('http://myweb.staging.dynamicweb-cms.com/Files/Templates/Designs/Swift/Assets/fonts/helveticaneue-01-webfont.woff2') format('woff2'),
url('http://myweb.staging.dynamicweb-cms.com/Files/Templates/Designs/Swift/Assets/fonts/helveticaneue-01-webfont.woff') format('woff');
}
- Using <link>
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,900" rel="stylesheet">
- Using "my_id" or "my_class"
<td id="my_id" class="my_class" ...
How should we add the custom font?
Regards,
Tomas