İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1494 Görünümler

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

​  


Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Eyl 25
1729
1
Ağu 25
1054
1
May 25
1837
0
Kas 24
1846
2
Eki 24
1947