Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1029 Zobrazení

I try to create simple email template  with odoo 16 and i want to know how i can change font family 

​  


Avatar
Zrušit
Nejlepší odpověď

Hi,


To change the font family in an email template in Odoo 16, you can directly include inline or embedded CSS in the template's HTML. Here's a simple example and a few tips to help you customize it correctly.


<t t-name="custom.email_template">

  <div style="font-family: 'Arial', sans-serif; font-size: 14px; color: #333;">

    <p>Hello <t t-esc="object.name"/>!</p>

    <p>Thanks for contacting us.</p>

  </div>

</t>


Hope it helps

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
kvě 25
1130
0
lis 24
1297
2
říj 24
1371
0
říj 24
1101
0
srp 24
1184