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

    Hello,

    I have some problem with fonts.

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Roboto’] = ‘Roboto:400&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&subset=latin,latin-ext’;
    return $fonts;
    }

    A add code to functions.php, to have avaiable ROBOTO font, both for heading and body.

    But, fonts change themsleves, when i change the settings of colors, etc at enfold panel “general settings”.

    In my browser i see roboto font, but when i eneter “contact” site, they change to deafult / arial.

    What is wrong?

    #420259

    Hey stompi!

    I see Roboto on both pages, could you try to clear your browser cache and reload a few times to see if that helps please?

    Regards,
    Rikard

    • This reply was modified 9 years, 8 months ago by Rikard.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.