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

    Hi,
    In Enfold Child functions.php I added the following code to import the Montserrat Google Font

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

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

    My problem is that when I try to change something in General Styling , for example custom CSS, the selected font in the FONT tab is always selected Arial by default.
    So. all the time I have to choose Montserrat to bring the font alive again.
    Is there any permanent solution to have Montserrat selected by default?

    Thank you in advance

    #934552

    Hey spapax,

    That happens as the font is been generated dynamic and it is not stored on the save.
    We will do forward the issue to our developers, so they can review.

    Best regards,
    Basilis

    #934735

    Thanks Basili

    #934764

    Hi,
    We will leave this open for now, until we hear back from the dev team.

    Best regards,
    Mike

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