Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
1890 Vizualizări

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?

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

-        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.

Imagine profil
Abandonează