Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1142 Переглядів

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

​  


Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
серп. 25
356
1
трав. 25
1231
0
лист. 24
1367
2
жовт. 24
1439
0
жовт. 24
1146