To insert code use <code>...</code>.
@font-face not working
  • I have a fontface kit generated from font squirrel and have done this with no problem in the past. The latest kit though does not preview nor work when uploaded into the folder. It does show that the font is there as it is listed in the Striking admin, but the preview is showing just in arial (or whatever the basic font is). The demo html generated by the kit works fine.

    Any thoughts??
  • 7 Comments sorted by
  • Hi morgancreative,

    Can you give me which font do you used?

    I just test one, it seems works.

    Regards,
    KaptinLin
  • Hi KaptinLin,

    I'm having the same issue, I'm using SedgwickCo from fontsquirrel.

    Link:
    http://www.fontsquirrel.com/fonts/sedgwick-co

    I'd like to add a few different fonts and then pick from my new options.

    Thanks,
    Chris
  • just thought I'd let you know, this is working now.

    Thanks
  • The font I am trying to use is called 7 Days. It is a techno round font. I tried it on two different builds of two different sites and the font shows in the list, but no preview and not working. I have attached the kit from font squirrel.
    7Days-fontfacekit.zip
    177K
  • I'm sorry this is still not working for you, honestly - I didn't do anything to make it work, I just went home and came back to work the next day and my fonts were previewing in the theme options panel and now they work.
    Good Luck, I will be keeping an eye on this as I have 2 copies of this theme working on 2 different sites and I hope not to run into this problem with my other site.
  • Hi morgancreative,

    You can edit on striking/framework/functions/skin.php file.

    In line 35 you will find
    $code = <<<CSS
    #site_name, #site_description,
    .kwick_title, .kwick_detail h3,
    #navigation a,
    .portfolio_title,
    .dropcap1, .dropcap2, .dropcap3, .dropcap4,
    h1,h2,h3,h4,h5,h6,
    #feature h1, #introduce,
    #footer h3, #copyright{
    font-family: {$font_info[1]};
    }
    CSS;


    change it to

    $code = <<<CSS
    #site_name, #site_description,
    .kwick_title, .kwick_detail h3,
    #navigation a,
    .portfolio_title,
    .dropcap1, .dropcap2, .dropcap3, .dropcap4,
    h1,h2,h3,h4,h5,h6,
    #feature h1, #introduce,
    #footer h3, #copyright{
    font-family: '{$font_info[1]}';
    }
    CSS;


    Regards,
    KaptinLin
  • Thanks will try this soon!