Hey guys, how exactly do I change fonts via CSS? I followerd these steps, but it doesn't seem to work (ignore the "" around the "@import url( GOOGLE_FONTS_URL );" part, wouldn't display properly without them here):
/* Font
* ----
* Change the theme font. Delete any lines that aren't going to be customized.
* Replace the following:
* - 'GOOGLE_FONTS_URL': The CSS URL that Google Fonts gives you.
* - 'FONT': The font name. Surround with quotation marks if the
* font has spaces.
*/
/* ! +++
"@import url( GOOGLE_FONTS_URL );"
body {
font-family: FONT,sans-serif;
}
+++ ! */
In my case, it looks like this (again, ignore the ""):
"@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);"
body {
background-color : #EEEEEE;
color: #FF3300
font-family: 'Oswald',Arial,sans-serif;
}
Am I missing something? Any help would be much appreciated!
view the rest of the comments →
[–] 742617000027 [S] 0 points 1 point 1 point (+1|-0) ago
Thanks for your answer! I honestly haven't even thought of the implications of that piece of CSS, and now that you mention it I gladly give up on the idea. Thanks for clarifying though!
[–] j_ ago
No problem, glad to help.