Jump to content

Implementing Typekit


9ashes

Recommended Posts

Hello all,

 

I'm looking to incorporate typekit fonts onto my prestashop but I'm a little lost as to how to do it.

 

I've tried popping the typekit scripts into the header.php and setting up the CSS accordingly but to no avail...

 

Can anyone help me?!

 

Cheers!

 

Paul

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Any ideas, I just need to add the following two lines into the header, but it breaks the site if i put them in header.tpl.

 

 

<script type="text/javascript" src="//use.typekit.net/vtj4fui.js"></script>

<script type="text/javascript">try{Typekit.load();}catch(e){}</script>

 

Surely this shouldn't be this difficult.

Link to comment
Share on other sites

  • 6 months later...
  • 10 months later...

hello you can enclose your code in header.tpl

{literal}
<script type="text/javascript" src="//use.typekit.net/vtj4fui.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
{/literal}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...