understrap/understrap-child

Google Fonts - do I need to do something more than putting them in /fonts?

currentcreative opened this issue · 4 comments

I put the new Google Fonts I downloaded into the same folder as the font awesome fonts and adjusted the CSS accordingly (for example font-family: 'Open Sans', sans-serif;) but the Google fonts are not showing up.

Did you add the @font-face declarations for the fonts?

Wow, that was fast! Nope, I'm a moron. Thanks. I've been directly linking Google Fonts for so long, I completely forgot about that. And how to do it. I'll have to go Googling to figure it out again. Just decided to do it this time since FontAwesome was already downloaded into Understrap, so I figured I'd try to go the extra mile this time myself for the Google Fonts.

CSS Tricks has a pretty good refresher on it.

https://css-tricks.com/snippets/css/using-font-face/

Thank you again!