WebSite X5Help Center

 
Michal D.
Michal D.
User

Google font Open Sans and Internet Explorer problem  en

Autor: Michal D.
Visited 3234, Followers 1, Udostępniony 0  

I used the Open Sans font. In Chrome, Edge, Firefox, Opera, and Safari, everything looks good, but some Internet Explorer features some other font. Can you fix it somehow?

Posted on the
4 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Michal D.
Michal D.
User
Autor

I found the solution. You need to paste this code into the head section:

<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,latin-ext' rel='stylesheet' type='text/css' />

<style>
p{font-family: 'Open Sans',monospace;}
</style>

The new question is: Can it be added somewhere at the level of the entire template? Do not have to do it manually on every page.

Thank you.

Czytaj więcej
Posted on the from Michal D.
Michal D.
Michal D.
User
Autor

I've got it. Globally, this can be added in the Statistics and SEO code.

Czytaj więcej
Posted on the from Michal D.
Michal D.
Michal D.
User
Autor

So I rejoiced prematurely. With a local preview, it's in the internet explorer
OK. The code helped. But when I publish the project on the internet, it's still bad.

Czytaj więcej
Posted on the from Michal D.
Michal D.
Michal D.
User
Autor

So finally resolved. Since the link is http and my site is running on https, IE has blocked the font download. Just fix it on https and it's running online as well.

Czytaj więcej
Posted on the from Michal D.