Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1032 Представления

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
1132
0
нояб. 24
1298
2
окт. 24
1371
0
окт. 24
1101
0
авг. 24
1184