Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Noob question regarding fonts and how to set them up #702

Closed
andreaarcher opened this issue Feb 2, 2016 · 1 comment
Closed

Noob question regarding fonts and how to set them up #702

andreaarcher opened this issue Feb 2, 2016 · 1 comment

Comments

@andreaarcher
Copy link

How do you add/install fonts?
my client sent over a mish-mash of eto, svg, ttf and .less files and I can't for the life of me figure out where to put them and how to call...

thanks in advance

@andreaarcher andreaarcher changed the title Noob question Noob question regarding fonts and how to set them up Feb 2, 2016
@FlatspinZA
Copy link

You reference your font file in the header.php file.

For instance, referencing a Google font, put this line between your <head> tags in header.php:

<link href='https://fonts.googleapis.com/css?family=Raleway:800,600' rel='stylesheet' type='text/css'>

Then change $body-font-family in _settings.scss so: $body-font-family: 'Raleway', sans-serif;

So, now you have a custom font you need to use - I'm pretty sure you'd put it in your theme_directory/assets/fonts folder

There's an excellent article here on using your own custom fonts.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants