Archived topic
Google fonts
2 replies · Started by Anonymous on July 7, 2014
Hello,
where can i faind this code?
<link rel="stylesheet" id="generate-fonts" type="text/css" href="//fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic" />
I must add there: &subset=latin-ext
Thenks for help
Hi there,
I'll need to look into this and add an option to add subsets for each font.
In the mean-time you have two options:
1. Use the Hooks addon, and add your own <link rel.. provided by Google.
2. Use the function below by installing a child theme and adding the below PHP to the functions.php file.
https://gist.github.com/proframework/2e0553f0518f3cc2f3cc
Let me know if you have any questions,
Tom
Actually, the easiest option would be to add the following to your CSS:
@import url(http://fonts.googleapis.com/css?family=Roboto&subset=latin,latin-ext);
Tom