Hi everyone
I know that I shouldn't be altering the classic template but my actual website isn't ready so I am only practicing to get it right on a website I no longer use.
I promise I will use a custom template for my real site but for now will stick with changing the classic template as it is going OK so far.
What I want to do is the use my header font for my headings etc and I have tried to use the cufon system but it isn't working and I am not sure why so I need some help from you guys please.
I used the cufon system to generate the jscript and didn't tie the font to a domain because the domain I am using now won't be my actual domain.
I put the scripts into the includes/templates/classic/jscript folder and edited the html_header.php in the following way:-
<script type="text/javascript" src="includes/templates/classic/jscript/jscript_jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="includes/templates/classic/jscript/cufon-yui.js"></script>
<script type="text/javascript" src="includes/templates/classic/jscript/CAC_Champagne_400.font.js"></script>
<script type="text/javascript" src="includes/templates/classic/jscript/cufon-replace.js"></script>
I then put the edited html_header.php into the includes/templates/classic/common folder as per the instructions that I found about this.
This is what is in my cufon-replace.js which was copied from somebody else's on the forum as I don't really understand how to do this but they said it pretty much covered everything so this could be where I went wrong:-
<script type="text/javascript">
Cufon.replace('h3.rightBoxHeading', {hover: true});
Cufon.replace('h2.centerBoxHeading');
Cufon.replace('#navTopContainer');
Cufon.replace('li.navTopContainer');
Cufon.replace('#navcontainer', {hover: true});
Cufon.replace('.messageStackWarning');
Cufon.replace('.messageStackError');
Cufon.replace('.messageStackSuccess');
Cufon.replace('.messageStackCaution');
Cufon.replace('#cartDefaultHeading');
Cufon.replace('#cartEmptyText');
Cufon.replace('#createAcctDefaultHeading');
Cufon.replace('#loginDefaultHeading');
Cufon.replace('#gvFaqDefaultHeading');
Cufon.replace('#discountcouponInfoHeading');
Cufon.replace('#pageThreeHeading');
Cufon.replace('#pageTwoHeading');
Cufon.replace('#pageFourHeading');
Cufon.replace('#advSearchDefaultHeading');
Cufon.replace('h2.manufacturer');
Cufon.replace('#productListHeading');
Cufon.replace('#indexCategoriesHeading');
Cufon.replace('h4.optionName');
Cufon.replace('#ezPagesHeading');
Cufon.replace('#attribsOptionsText');
Cufon.replace('#checkoutSuccessHeading');
</script>
What have I done wrong because it doesn't work?
http://gemstonecollectables.com/crystalitzy/
Thanks in advance for any help you can give me.
Bookmarks