1347 Posts in 439 Topics by 514 members
|Go to End|
16 April 2013 at 3:33pm
Hello every one,
I tried to embed my TYPEKIT fonts to SilverStripe.
I tried both requirements command in the controller and
editing template directly but it didn't work.
Does anyone knows how to do that?
the problem are script tags that need to be called to authorize the font
Here it is what typekit gives you:
17 April 2013 at 9:37am
Post your .ss file code please. I just want to see what you have all got in there before i comment further.
18 April 2013 at 9:00am
Just add to the top of your themes/design/templates/Page.ss file, should look something like:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html lang="da-DK" xmlns="http://www.w3.org/1999/xhtml">
Remember to allow access from the urls you are viewing the site at in your typekit. (After update there can be a short delay before it actually works)
|Go to Top|