• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

Google webfonts

Status
Not open for further replies.
Joined
Jun 1, 2010
Posts
548
Reaction score
2
For some reason unknown to me, G webfonts isn't working?

The only thing I'm doing differently now to any other time I've used webfonts is I currently have my < head >< /head > tags in header.php which is called on every page, rather than calling the <head> tag on every page (but for all intents and purposes this should be handled the same by the browser anyway?). In header.php is my <link href... etc>, with the 'font-family: webfont;' applied in my main css stylesheet, pretty standard stuff.

Has anyone got any idea why it wouldn't work?
 
I use a google font, and I just called it by putting this

<link href='http://fonts.googleapis.com/css?family=Allura|Cabin' rel='stylesheet' type='text/css' />

into my header.inc.php

in my style.css I have like

#start h1{color:#2e6dd1;font:normal 90px Allura, Helvetica;line-height:0.9em;margin:0;padding:10px 0;text-align:center;text-shadow:0 1px 0 #fff;}

Works fine here.
 
Hmmm very strange. Mine's no different to yours, I've applied the font-family css to everything from 'body' to 'p' and everything in between. I'll try downloading it and see if that makes a difference...
 
I havent used font family in mine above, maybe try using my code above and see ?

Have you cleared your cache ?

The number of times iv had jquery issues, spEnding hours only to find im using a cached version.
 
No luck with your code either, I've tried cache clearing and different browsers. The javascript way of implementing doesn't work either
 
We've always found the quality of Google web fonts to be really poor.

Much better is typekit.com
 
Status
Not open for further replies.
Top Bottom