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

    Hi Guys,
    My fonts Oswald and Ubuntu do not seem to be loading since update to 3.3.1. I’ve noticed that they keep resetting to default in the Enfold admin panel under general styling too.
    The headlines and body text should be Oswald and there is an h2 headline in Ubuntu italic. I’ve added these in the Child theme Functions php as I always do:

    <?php

    /* Add Google font to content AND header listings – note different calls for ‘content’ and ‘heading’ for each */

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Oswald’] = ‘Oswald:700,400,300&subset=latin,latin-ext’;
    $fonts[‘Ubuntu’] = ‘Ubuntu:300italic,300,500italic,500&subset=latin,latin-ext’;
    return $fonts;
    }

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Oswald’] = ‘Oswald:700,400,300&subset=latin,latin-ext’;
    $fonts[‘Ubuntu’] = ‘Ubuntu:300italic,300,500italic,500&subset=latin,latin-ext’;
    return $fonts;
    }

    add_theme_support(‘avia_template_builder_custom_css’);

    #496843

    Hi hughsieg5,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Thanks,
    Rikard

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