dongzuozhu66776 2014-05-01 12:53
浏览 10
已采纳

Wordpress字体与Firefox不同

I just migrated my website from a subdomain to the root by using this link.

It works in all browsers except firefox/IE, in firefox the fonts and icons are distorted.

The website is as here

  • 写回答

2条回答 默认 最新

  • duanchongzi9997 2014-05-01 13:23
    关注

    I have had this problem before, Firefox and IE do not allow any cross-domain font requests (which is correct by spec) but Chrome/Webkit does.

    This means Firefox & IE will not load your fonts because they are still on your test sub-domain but your site has moved.

    All you need to do is move your fonts to the main domain and all will be sorted!

    If you can't move your fonts or want to use serve your fonts from a CDN check out David Walsh's post

    Cheers Sam.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?