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...
<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.

View Replies: View Best Answer
Mainio replied on at Permalink Best Answer Reply
Mainio
I would check some JavaScript errors on that page from your browser's console. Probably it's not even loading cufón because of some previous error it throws to you.

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
oakleafg replied on at Permalink Reply
Cheers, managed to fix it by just copying the font js file over again. Guess it must have just been a glitch.