跳至內容
選單
此問題已被標幟
1 回覆
1069 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 25
183
1
5月 25
1161
0
11月 24
1334
2
10月 24
1393
0
10月 24
1134