Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
1888 Zobrazení

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?

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit