This topic has 2 replies, 2 voices, and was last updated 10 years, 6 months ago ago by Jack Richardson
Hello,
How would I install a new webfont to my site?
Could I install in such a way that I would be able to access the font via the Typography item under Theme Options?
Or would I have to edit the CSS? In this case, could I add the code to custom.css?
Thank you.
Hello,
You can not add your font in theme options, but you can add it to custom.css with @font-face, see example:
@font-face {
font-family: 'Aleo-Regular';
src: url('css/fonts/aleo-regular-webfont.eot');
src: url('css/fonts/aleo-regular-webfont.eot?#iefix') format('embedded-opentype'),
url('css/fonts/aleo-regular-webfont.woff') format('woff'),
url('css/fonts/aleo-regular-webfont.ttf') format('truetype'),
url('css/fonts/aleo-regular-webfont.svg#aleoregular') format('svg');
font-weight: normal;
font-style: normal;
}
h1,h2,h3,h4,h5,h6{
font-family:"Aleo-Regular";
}
Regards,
Jack Richardson
The issue related to '‘Using Webfonts’' has been successfully resolved, and the topic is now closed for further responses