Google font implementation?


#1

Can I already use google font with discourse?
if not any idea on how to implement it?


(Jens Maier) #2

Google gives you a bit of CSS code, e.g.:

@import url(http://fonts.googleapis.com/css?family=Open+Sans);

Copy & paste that into your custom CSS, use the font name (in this case “Open Sans”) in your CSS rules, done. :slight_smile:


#3

Thanks!

Like you said I put this in my custom css and it works :smile:

@import url(http://fonts.googleapis.com/css?family=Nova+Flat);
html {
Font-family: 'Nova Flat', Helvetica, Arial, sans-serif;
}