New Landing How can we help? General Forum Help Google font insert into the head

Viewing 2 posts - 1 through 2 (of 2 total)
  • #170355
    comfortable19
    Member
    Post count: 3

    Hi there

    I’d like to ask because I have a problem with bought WordPress “Theme dante” and there is an issue
    with the google font in it because each browser such as Firefox, Opera etc normally shows font with the Czech
    diacritics (č š ě etc…) but Google Chrome not – Chrome is changing every letters with diacritic to alternative font
    and it looks pretty weird. I found on the internet solution that there is possible to add script &subset=latin-ext,latin
    to fix this problem but I can’t find in the source code where to put it. Can you somehow help me?

    Thanks a lot
    Regards
    Veronika

    #170408
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please make this change in header.php file.

    Find this code:-
    WebFontConfig = {
    			    google: { families: [<?php echo $custom_fonts; ?> 'Vidaloka'] }
    			};
    
    Change with:-
    WebFontConfig = {
    			    google: { families: [<?php echo $custom_fonts.':latin-ext,latin
    '; ?> 'Vidaloka'] }
    			};

    Thanks
    Mohammad

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register