michael.hayes Posted November 7, 2013 Share Posted November 7, 2013 Hi, I am trying to add typekit to prestashop, i have tried the header and footer tpl but its not working: I am using PrestaShop™ 1.5.6.0 , can anyone assist? Link to comment Share on other sites More sharing options...
vekia Posted November 7, 2013 Share Posted November 7, 2013 can you show what exactly you tried to add please? and also where? Link to comment Share on other sites More sharing options...
michael.hayes Posted November 8, 2013 Author Share Posted November 8, 2013 (edited) Hi, Thanks for getting back to me. I initially inserted the code like this in the header.tpl: <script type="text/javascript" src="//use.typekit.net/wms3uux.js"></script> <script type="text/javascript">try{Typekit.load();}catch(e){}</script> The code didnt work so I carried out a search and found that it may be added like this in the header.tpl (I have also tried footer.tpl): <script type="text/javascript" src="//use.typekit.net/wms3uux.js"></script> <script type="text/javascript">Typekit.load();</script> The strange thing is that it appears to work in Firefox, but within IE it does not. Edited November 8, 2013 by michael.hayes (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted November 8, 2013 Share Posted November 8, 2013 if your code uses brackets { } you need to use literal tags: {literal} <script type="text/javascript" src="//use.typekit.net/wms3uux.js"></script> <script type="text/javascript">try{Typekit.load();}catch(e){}</script> {/literal} Link to comment Share on other sites More sharing options...
michael.hayes Posted November 8, 2013 Author Share Posted November 8, 2013 Hi Vekia, Thanks , but that still doesnt resolve the problem in IE9 and below Link to comment Share on other sites More sharing options...
vekia Posted November 8, 2013 Share Posted November 8, 2013 i never used it i just suppose that this feature doesn't support old IE versions. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now