Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1182 มุมมอง

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 ตอบกลับ มุมมอง กิจกรรม
Automatic Batch Transfer แก้ไขแล้ว
1
ส.ค. 25
478
1
พ.ค. 25
1296
0
พ.ย. 24
1401
2
ต.ค. 24
1484
0
ต.ค. 24
1206