i have bought SSL for my server and installed it. But after i install, i figured out that cufon is not working anymore. I've checked some questions and i've googled but none of the solutions worked.
Added the codes in footer to header exc., tried everything but not working, thanks for your replies.
Header :
<script src="http://cufon.shoqolate.com/js/cufon-yui.js" type="text/javascript"> </script>
<script src="https://mywebsite.com/js/myriad-pro.cufonfonts.js" type="text/javascript"></script>
Footer :
<script type="text/javascript">
Cufon.now();
Cufon.replace('.myriad_pro_semibold', { fontFamily: 'Myriad Pro Semibold', hover: true });
Cufon.replace('.myriad_pro_bold', { fontFamily: 'Myriad Pro Bold', hover: true });
Cufon.replace(
'h1, h2, h3, h4, h5, h6, .menu-title',
{ fontFamily: 'Myriad Pro Bold' }
);
Cufon.replace('.nav a, .nav2', { fontFamily: 'Myriad Pro Semibold', hover: true }); </script>
Have you tried downloading the cufon-yui.js
to your own server and serve it from there? You are currently fetching it from http
not https
which both breaks the whole purpose of using https
since that connection is not secure and might be the thing that makes the script not even load.