Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3573 Widoki

Bonjour,

Je souhaite changer la police des Titres et paragraphes avec une police que j'ai achetée (et qui n'est pas sur Google font). Comment faire ?
Ma police de titres s'appelle "My Creative Land - Dreaming Outloud AllCaps Regular.otf"

Je vous remercie à l'avance pour votre aide.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Hi, I don't know how to find this static file. How can I do this ?


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

To load custom fonts in odoo you need to,


1. Add font file to static/src/font/

2. Add the file link to the @font-face in a scss file

3. Mention the font family in a stylesheet

4. Link the style sheet to the manifest file

5. Select the font family in the website --> editor --> theme --> font family

6. Save and see the changes

Please refer to this blog:
https://www.cybrosys.com/blog/how-to-add-custom-fonts-in-odoo-16


Hope it helps

Awatar
Odrzuć
Autor

Hi ! Where can I find this static file ? The article don't tell it. Just for the record, I'm using odo online.
I tried to find a simple tutorial to install Odoo on my mac but I couldn't.

Powiązane posty Odpowiedzi Widoki Czynność
0
cze 23
2059
0
maj 20
2279
2
wrz 23
7286
3
lip 23
4020
1
kwi 23
7251