Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1004 Vistas

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

​  


Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 25
1109
0
nov 24
1290
2
oct 24
1356
0
oct 24
1085
0
ago 24
1176