v 15.0 Third Party 16
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website (website)
Discuss (mail)
Lines of code 676
Technical Name website_local_font
LicenseLGPL-3
Websitehttps://github.com/OCA/website
You bought this module and need support? Click here!

Website Local Font

Beta License: LGPL-3 OCA/website Translate me on Weblate Try me on Runboat

This module allows to add local fonts on Odoo website.

By default,Odoo only allows to upload fonts available from Google(fonts.google.com) and they can be made available locally or from Google’s server in addition to the fonts made available via website theme modules.But there’s no option to upload and have local fonts available across all website themes.

To overcome this limitation, this module has been developed to allow users to upload proprietary (or custom) fonts in the most widely used font formats - otf,ttf,woff and woff2 and make it available across all website themes.

The fonts can be deleted as well if not needed anymore.

Table of contents

Usage

To upload local fonts and use it for the website, you need to :

1.Go to website (with editor enabled),click on ‘Edit’ and go to ‘THEMES’ section.Under Font Family, you would find an option ‘Add a Local Font’.

https://raw.githubusercontent.com/OCA/website/15.0/website_local_font/static/description/AddALocalFontOption.png

2.When you click on the ‘Add a Local Font’ option, a wizard would open with two fields- ‘Font File’ and ‘Font Name’.Upload the file with one of the supported file formats and the font name would be automatically updated based on the file.You can update the name or leave it as it is.

https://raw.githubusercontent.com/OCA/website/15.0/website_local_font/static/description/SaveTheFont.png

3.Click on ‘Save & Reload’ Button, you will see the font is applied to the elements of the website.

https://raw.githubusercontent.com/OCA/website/15.0/website_local_font/static/description/FontAppliedOnWebsite.png

4.If you want to see the list of local fonts or delete the locally uploaded fonts,click on ‘Edit’ on website and go to ‘THEMES’ section.Under Font Family, you would find the newly added font.

https://raw.githubusercontent.com/OCA/website/15.0/website_local_font/static/description/NewlyAddedFont.png

5.If you want to delete this locally added font , you can click on the delete icon next to it.Once, you click on the delete icon, it would open up a confirmation dialog.

https://raw.githubusercontent.com/OCA/website/15.0/website_local_font/static/description/DeleteFontConfirmation.png

6.Once you click on ‘Ok’ button, the page would be refreshed and you would see the font is changed for the website and also the font is not found in the list.

https://raw.githubusercontent.com/OCA/website/15.0/website_local_font/static/description/FontDeleted.png

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Onestein

Contributors

  • Onestein:
    • Anjeel Haria

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/website project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.