WebSite X5Help Center

 
Alex G.
Alex G.
User

Embed Font  en

Auteur : Alex G.
Visité 521, Followers 1, Partagé 0  

I have downloaded and installed a font from Google Fonts.  Works great on my PC and on my webpage through Website X5 (Evolution 12) and preview.  Also works great on my browser.

However, if I go to another PC or Mac, the font is completely different.

How can I 'embed' the font so that I avoid this problem?

I am a beginner, so a simple 'step by step' process would be appreciated.

Thank you.

Posté le
6 RéPONSES
Esahc ..
Esahc ..
Moderator

Alex, in the current versions it is too simple but back in V12 not so straight forward. On the Google Fonts page select your font, select this style and copy the @import code to embed the font in your website.

In WX5, step 4, expert tab, paste the code

Lire plus
Posté le de Esahc ..
Alex G.
Alex G.
User
Auteur

Thank you for your prompt response but I'm afraid after following your instructions, it does not work. Not only that, I can see the code at the top of my page.

Can't see if I'm supposed to put this custom code under 'before closing the HEAD tag'? Also, in the Map Creation by selecting the properties on a page, it takes me to another expert tab with very similar features... am I supposed to do the same there or will the conflict?

Thank you.

Lire plus
Posté le de Alex G.
Esahc ..
Esahc ..
Moderator

Alex, my apologies. Do as Andre says, he is correct (as usual). Delete the code I wrongly told you to add.

Lire plus
Posté le de Esahc ..
Alex G.
Alex G.
User
Auteur

Fantastic!  It works... Thank you so much!

Lire plus
Posté le de Alex G.
Andre E
Andre E
Moderator

Thanks for the feedabck Alex,

Glad to be able to help out.

Lire plus
Posté le de Andre E