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

    Hello,

    I added a new Google Font (Delius Unicase) with the code in the functions.php file (code below).

    When I open the Them Options in the admin, the font does not show up. Even if I select a different font for the headings, it does not update on the live site.

    Please help :)

    Jenna

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Delius Unicase’] = ‘Delius Unicase:400,700’;
    $fonts[‘Delius Unicase’] = ‘Delius Unicase:400,700,400italic,700italic’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘Delius Unicase’] = ‘Delius Unicase:400,700,400italic,700italic’;
    $fonts[‘Delius Unicase’] = ‘Delius Unicase:400,700’;
    return $fonts;
    }

    #445148

    Hi southall!

    Try using a child theme, http://kriesi.at/documentation/enfold/downloads/, and then paste it inside the child theme functions.php file.

    Regards,
    Elliott

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