Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
1153 Visninger

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

​  


Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
aug. 25
438
1
maj 25
1268
0
nov. 24
1389
2
okt. 24
1469
0
okt. 24
1177