This question has been flagged
1 Reply
43 Views

Hi,

I want to add a custom Arabic font to my Odoo 17 Website? It is not a Google Font.

I want to add it without going into technical coding as I am not capable of.

Is there any easy way to do without coding?


Thanks.

Avatar
Discard
Best Answer

Hi,

To add a custom Arabic font to your Odoo 17 website, you'll need to follow some technical steps, but it's not overly complex. Here's a simplified guide:


* Place the font file in the static/src/font/ directory.

* Include the file link in the @font-face within a scss file.

* Specify the font family in a stylesheet.

* Connect the stylesheet to the manifest file.

* Choose the font family in the website editor under theme settings.

* Save the changes to observe the updated font.


For more please refer to the following link:

[NOTE: The first portion of the blog is how to add Google fonts. The second portion is the part that you looking for]


https://www.cybrosys.com/blog/how-to-add-custom-fonts-in-odoo-17#:~:text=To%20incorporate%20a%20custom%20font,font%20family%20in%20a%20stylesheet.


Hope it helps

Avatar
Discard
Author

I am using the Enterprise Edition, how to access the static/src/font/ directory?