Compiled templates
The compiled HTML files in the Tabler Emails package are ready to send. This page shows how to change their content and where to use them.
Compiled version of the template
If you only want to change the text or the images of a template, use the compiled file, compiled.html. It has the styles inlined and needs only basic HTML knowledge to edit.
How to modify the compiled HTML files
- Open the
compiled.htmlfile in your favorite code editor. - Find the content you want to change inside the
<body>element. - Modify the content as needed:
- Change the text, which is mostly placed inside the
<p>or<h1>tags. - Change the images by replacing the
srcattribute of the<img />tag. - Change the links by replacing the
hrefattribute of the<a>tag. - Remove the HTML elements you don't need, but only if you're sure that they are not necessary for the email template to work correctly.
- Change the text, which is mostly placed inside the
- If you changed the images, make sure to replace them in the
assets/folder. - Remove all the images you don't use from
assets/to reduce the size of the email template.
How to use the compiled HTML files
After editing, upload compiled.html together with the assets/ folder to your email tool, such as Mailchimp or SendGrid.
