Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Cufon not working in IE7 for me

  • 05-02-2010 10:02AM
    #1
    Registered Users, Registered Users 2 Posts: 6,652 ✭✭✭


    I am porting a client's web site to WordPress and using Cufon instead of images for a nice font in the menu.

    Unfortunately it doesn't appear to be working in IE7 (I only have IETester to test with). Cufon is working in FF3.6, Chrome, IE8, Safari, Opera).
    Even a demo page on another site doesn't work.

    I am using Cufon 1.0.9 and calling Cufon.now() at the end of the page.

    What am I missing?


Comments

  • Registered Users, Registered Users 2 Posts: 216 ✭✭KJF


    The first thing I notice is you are using the blueprint css framework which has itself a seperate css file for browsers < IE8. Maybe the conflict is there?


  • Registered Users, Registered Users 2 Posts: 6,652 ✭✭✭daymobrew


    KJF wrote: »
    The first thing I notice is you are using the blueprint css framework which has itself a seperate css file for browsers < IE8. Maybe the conflict is there?
    That might be the case on my site, but what about the demo page which also fails in IE7 (i.e. font not changed)?

    I commented out this separate CSS file and the issue still happens - font not transformed.


  • Registered Users, Registered Users 2 Posts: 6,652 ✭✭✭daymobrew


    I think I have it fixed - the latest thread in the cufon forum was about cufon not working in IE7.
    The answer was the first item in the FAQ (which I *swore* I read) - it says to load jquery before cufon.

    So, I made the cufon script depend on jquery:
    <?php wp_enqueue_script( 'cufon', get_bloginfo('template_url') .'/js/cufon-yui.js', [b]array('jquery')[/b] ); ?>
    

    It's still not perfect - the "Main Courses" menu item is on a different line to the other menu items.


Advertisement