Skip to main content
All CollectionsOther ModulesDocuments & Letters
How can I add letter head, tables, lists, etc to my template?
How can I add letter head, tables, lists, etc to my template?
XPayroll avatar
Written by XPayroll
Updated over 3 years ago

You can create your own templates by going to Dashboard > Generate/edit letters > Add letter.

Here are some snippets you can use for commonly used elements:

Letterhead

(Company_Logo requires you to have a logo uploaded)

Code:

<table style="width: 100%; border-bottom: 1px solid black">
<tr>
<td>
[Company_Logo] </td>

<td style="text-align: right;">
<table style="width: 100%">
<tr style="text-align: right;">
<td style="font-size: 1.5rem"">[Company_Name]</td>
</tr>
<tr style="text-align: right;">
<td style="display:inline-block;width:400px">[Company_Address]</td> </tr>
</table>
</td>
</tr>
</table>

Table with border:

Code:

<table class="with-border"> <thead> <tr> <th width="100">Title A</th> <th>Title B</th> <th>Title C</th> </tr> </thead> <tbody> <tr> <td>Value 1A</td> <td>Value 1B</td> <td>Value 1C</td> </tr> <tr> <td>Value 2A</td> <td>Value 2B</td> <td>Value 2C</td> </tr> <tr> <td>Value 3A</td> <td>Value 3B</td> <td>Value 3C</td> </tr> <tr> <td>Value 4A</td> <td>Value 4B</td> <td>Value 4C</td> </tr> <tr> <td>Value 5A</td> <td>Value 5B</td> <td>Value 5C</td> </tr> </tbody> </table>

Page break

If you want to break the current page and start a new page, use the below snippet just before you begin your new page.

Code:

<div class="new-page"></div>

Numbered list:

Code:

<ol> <li> Sample text for the first line <ol> <li>Sample text for inner line</li> <li>Sample text for second inner line</li> </ol> </li> <li>Sample text for the second line</li> <li>Sample text for the third line</li> <li>Sample text for the fourth line</li> </ol>

Did this answer your question?