Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1072 Visualizzazioni

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

​  


Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
ago 25
193
1
mag 25
1165
0
nov 24
1338
2
ott 24
1399
0
ott 24
1136