Skip to content

Instantly share code, notes, and snippets.

@Qubadi
Created August 8, 2024 23:20
Show Gist options
  • Select an option

  • Save Qubadi/4e312e4fe5fb82f05d965616365d3a4d to your computer and use it in GitHub Desktop.

Select an option

Save Qubadi/4e312e4fe5fb82f05d965616365d3a4d to your computer and use it in GitHub Desktop.
Jetformbuilder content Template with RTL and Amiri font
Add this HTML code to your Jetformbuilder (Send Email) content, and do not forget to add your field names.
If you have more field names, just duplicate the code lines.
This template is designed for use with Jetformbuilder, featuring RTL (Right-to-Left)
text alignment and the elegant Amiri font. The template ensures proper rendering of text in
languages that read from right to left, such as Arabic. Simply add your content within the designated section,
and the template will automatically apply the specified font and alignment styles.
<style>
@import url('https://fonts.googleapis.com/css2?family=Amiri&display=swap');
.amiri-text {
font-family: 'Amiri', serif !important;
direction: rtl !important;
text-align: right !important;
font-size: 16px !important;
}
</style>
<div class="amiri-text">
<!-- Add your content below -->
<p style="font-family: 'Amiri', serif !important; direction: rtl !important; text-align: right !important;">Your text or subject,</p>
<p style="font-family: 'Amiri', serif !important; direction: rtl !important; text-align: right !important;">%Your field name%</p>
<p style="font-family: 'Amiri', serif !important; direction: rtl !important; text-align: right !important;">%Your field name%</p>
<p style="font-family: 'Amiri', serif !important; direction: rtl !important; text-align: right !important;">%Your field name%</p>
<!-- End of your content -->
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment