Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Add extra font to website (using Odoo 8)

web
By
Ramzi
on 9/29/16, 6:16 AM 171 views

Hello,

would like to add an extra font to the odoo website. Could sb tell me how i could add this..


Kind Regards

Ramzi 

0
Gregory Gillis
On 10/28/16, 11:59 AM

Sadly there is not an easy way to do this. There are a few different ways, but one easy way is to use Google Fonts.

1. Find the font you want on: http://fonts.google.com

2. Click the plus sign next to the font to select it.

3. At bottom of screen, click "# Font Selected" to pull up the font. It will give you code you need here. 

4. Copy the link code for the Standard Embed will be something similar to this:

<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">

5. Pull up your website and customize the HTML (Customize>HTML Editor).

6. Paste your link into the code near the top of the page.

7. Return to the tab/window with the Google Fonts open and copy the next line of code for the css style:

font-family: 'Open Sans', sans-serif;

8. Paste this into your code where ever you would like the code to be changed. Each div, p, span, etc headers. Should now look like:

<div style="font-family: 'Open Sans', sans-serif;">Your text to appear with your new font.</div>

9. Save and reload your page. You should be good to go.

NOTES: This will need to be done on every page you want the font done and each text field will need it unless you use inherit. The font will be hosted on Google's servers and when someone loads your page it will get the info from Google to load so nothing is downloaded on a users computer. It may vary the load time, but usually will be minimal. The font page will tell you the load speed to give you a heads up. I am currently using this with Enterprise V9 without problems and should be backward compatible since this is a generic web fix trick.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/29/16, 6:16 AM
Seen: 171 times
Last updated: 10/28/16, 11:59 AM