Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #307614

    Hello
    I have got a problem with diacritics. Some of them doesnt show up.
    Thanks for any help

    #307647

    Hi chytry!

    Maybe you need to load a different subset of the google font server – otherwise the headline font doesn’t support all characters or diacritics combinations.

    Insert this code at the bottom of your child theme functions.php file:

    
    
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    add_filter( 'avf_google_content_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Open Sans'] = 'Open Sans:400,600&subset=latin,latin-ext';
    return $fonts;
    }
    
    

    If you don’t use a child theme open up enfold/functions.php and replace this code at the very top

    
    <?php
    

    with

    
    <?php
    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    add_filter( 'avf_google_content_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Open Sans'] = 'Open Sans:400,600&subset=latin,latin-ext';
    return $fonts;
    }
    

    At least go to to the theme option page (Enfold > Theme Options) and re-save the theme settings.

    Best regards,
    Peter

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