Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1493 Lượt xem

Odoo website editor allows us to specify the font family which will be common for all languages. How to have a different font for each language in the website?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

If you are using the version Odoo 15 or older, you can use the following steps:
Activate the developer mode and go to 'Settings > Translations > Translated Terms' in the backend. Then look after the term to modify.

Hope it helps

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

-        To add a custom font for each language, just do this:

1- Go to the Website tab, then from the menu:

-        Click “site”, then HTML / CSS editor, click “edit anyway” and then choose (SCSS / CSS) from the dropdown menu.

-        In the menu inside SCSS, choose (use_custom_rules) then add the customization for each language:

-        Click “save”

-        In order for this to work, you have to load the font at least once from the “edit” website button, by clicking any website section and selecting the “add font” button from the font menu, and then saving.

Ảnh đại diện
Huỷ bỏ