Add Web Font
Author: Bjorn Andreassen
Visited 2193,
Followers 1,
Shared 0
I have problems with Web Font. It don't work on my website.
Howdo Iadd the codeproperly? See pic.
Posted on the
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!
Author
Like this @import url('https://fonts.googleapis.com/css?family=Roboto');
or like this url('https://fonts.googleapis.com/css?family=Roboto');
Author
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.
Author
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.
Author
Is there anyting wrong with this code?
@import url('https://fonts.googleapis.com/css?family=Roboto:300');
Author
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);
Author
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!
Author
As I said. I have given up and use now Web Font instead of Google Font.