badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Google fonts

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18817
    Konrad
    Participant

    Hi Team,
    I’ve set some google fonts (Oldenburg as title font and Imprima as content font). However special chars (ĘÓĄŚŁŻŹĆŃ ęóąśłżźćń) of site’s language – polish – are rendered using standard font which looks quite bad.
    I’m sure, that these fonts support polish charset (ISO-8859-2/CP-1250). If you look at http://netwizards.com.pl/zasoby/darmowe-polskie-czcionki-google-fonts-z-polskimi-znakami/index.php?strona=5 you will find Oldenburg with polish chars). On this site there is link to font.googleapis and major difference is that there is specified subset (latin, latin-ext). As far as I can tell Interface doesn’t specify subset and maybe this is the problem, however I was unsuccessful specifying subset in overridden functions.php. Could you please tell me how to fix this or maybe this will be fixed in next release?
    If you need this is my site’s address: http://arbena.pl and here is special test site with all special chars: http://arbena.pl/new-faq-test/
    Thanks!

    #19186
    Konrad
    Participant

    Hello, any status update?

    #19254

    Hi Konrad,

    Sorry for late reply. We have researched about it. Yes there is some Google font issue in the theme. We will update it in upcoming version.
    For now just Go to theme directory -> inc -> functions -> functions.php on line no. 67

    You will find the below code:
    wp_register_style( 'interface_google_font', '//fonts.googleapis.com/css?family='.$interface_google_font_load .':400,700italic,700,400italic');

    replace above with below code:
    wp_register_style( 'interface_google_font', '//fonts.googleapis.com/css?family='.$interface_google_font_load .':400,700italic,700,400italic&subset=latin,cyrillic-ext,latin-ext');

    Thanks for reporting the issue.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.