Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1066 Tampilan

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

​  


Avatar
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Agu 25
178
1
Mei 25
1161
0
Nov 24
1333
2
Okt 24
1392
0
Okt 24
1134