Add Web Font
Autor: Bjorn Andreassen
Visitado 2126,
Seguidores 1,
Compartilhado 0
I have problems with Web Font. It don't work on my website.
Howdo Iadd the codeproperly? See pic.
Publicado em
Hello Bjorn,
You are using the google wefont function and you need to add @import code you receive on the google webfont site not the font-face code.
Many thanks!
Autor
Like this @import url('https://fonts.googleapis.com/css?family=Roboto');
or like this url('https://fonts.googleapis.com/css?family=Roboto');
Autor
I do not getthis to work.Whatam I doing wrong.See Attachment.
Bjorn, are you saying that it doesn't work when uploaded or you cannot find the font when creating your website?
If it's the latter you need to download the ttf and install it.
The code appears correct.
Autor
I don't know what's happen. I have added the font, upload project to my website and the font will not show on my website.
Autor
Is there anyting wrong with this code?
@import url('https://fonts.googleapis.com/css?family=Roboto:300');
Autor
I give up!
WebSite X5 is shit when adding web fonts as Google Fonts. Some fonts works and other don't.
Need to delete them all and add them as Web Font.
try this.
@import url(http://fonts.googleapis.com/css?family=Roboto:300);
Autor
I doesn't want to spend more time on this! Having already used several hours on debugging.
Hello Bjorn,
Can you please write me the link to the website so I can see why it is not appearing on your website?
Many thanks!
Autor
As I said. I have given up and use now Web Font instead of Google Font.