Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #724421

    I see on the forum how to change function.php to add the font ‘catemaran’, but I do not see it show up in my font list. Only if I change register-backend-google-fonts.php what is going wrong. Also I do not see by the existing font Advent Pro the options to choose the 100, 400 or the 600 version.

    add_filter( 'avf_google_heading_font', 'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Catamaran'] = 'Catamaran:300,400,800';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    
    $fonts['Catamaran'] = 'Catamaran:300,400,800';
    return $fonts;
    } 
    #724425

    Hey MarcusEls!

    Please go to Appearance > Editor and open functions.php file and find following line near top

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    and add your code right below it

    Best regards,
    Yigit

    #724453

    Thanks See the font now, but I don’t see the versions 300,400,800

    #724454

    Hey!

    They do not show up as options. You can use custom CSS to change font weight.
    If you need assistance targeting correct classes, please point out the elements for us :)

    Best regards,
    Yigit

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