Updated to 5.5.1 and cufon has stopped working!!!
Permalink
Hi
Just updated a site that uses Cufon to 5.5.1 and for some reason the font replacement has stopped working. Anyone else had this problem and is there a fix?
here is the code that was working before updating...
thanks.
Just updated a site that uses Cufon to 5.5.1 and for some reason the font replacement has stopped working. Anyone else had this problem and is there a fix?
here is the code that was working before updating...
<script type="text/javascript" src="<?=$this->getThemePath()?>/js/cufon-yui.js"></script> <script type="text/javascript" src="<?=$this->getThemePath()?>/js/neotech_400-neotech_500-neotech_italic_400-neotech_italic_500.font.js"></script> <script type="text/javascript"> Cufon.replace('h1, h2, h3, h4, h5, .powerSlide .largeText'); Cufon.replace('#navcontainer li a', {hover: true}); </script>
thanks.
One reason for this might be that c5.5.0+ moves some of the javascript to be loaded in the footer instead of header, therefore this might break some of your scripts that you load in the header.
I think going through and fixing the javascript errors would be probably enough.
Best,
Antti / Mainio