Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #289399

    I just cant make google font “roboto condensed” to be inserted via functions.php theme file with latin ext characters.

    I read most of the support topics already opened.

    #289590

    Hi OblakJ!

    What does the function look like that you are using right now and where exactly in your functions.php did you add it?

    Best regards,
    Devin

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

    On the last line of functions.php

    #289811

    Hey!

    Make sure you are using the latest version of Enfold, then remove the subset from there and add this below:

    function add_subset_func($fontlist) {
    	$fontlist .= "&subset=latin,latin-ext";
    	return $fontlist;
    }
    add_filter('avf_google_fontlist', 'add_subset_func');

    Regards,
    Josue

    #289932

    Resolved. Thanks. Good solution for all lat-ext countries.

    #289939

    You are welcome, always glad to help :)

    Regards,
    Josue

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