MyBB Community Forums

Full Version: Using external fonts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! I am sure I'm missing something obvious, but I can't seem to get Google Fonts to work on my forum. I'm trying to install Roboto at the moment - I've tried linking, using @import in my global.css, and and I've even tried adding the JavaScript directly into the header. Nothing seems to work. Do I need to do something different? 

My site is here: http://alaanuri.com

Please ignore the wonkiness of the layout right now, I'm still fiddling with things. My question is purely about the font - the logo should display as Roboto but doesn't in any of my browsers.
Assuming that this is the font your using: http://i.imgur.com/GGDikQ6.png


You should go to Templates --> Current Default Templates Your Using --> Ungrouped Templates --> headerinclude

And then insert somewhere:
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
I did that, no dice. :/ I'll try again, but it hasn't worked the last two times.
Have you then added to all elements in the CSS that you want to be Roboto font this:

font-family: Roboto;
Yeah, I have. I actually tried clearing my cache just now and it's working. I should have tried that first thing!

Thanks for your help!!
Also!

This is what it looks like for me, seems to be the Roboto font: http://i.imgur.com/GlwLiVK.jpg

Ooop, that must have been it then cause it looked to be working fine a few minutes ago.

And no problem. Smile