Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1318343

    hi i am using open sans but it seems the enfold settings wont accept font-weight 200 as a thin option.
    how can i make it work? currently i am using a google font plugin but i want to get rid of it.
    thanks
    tom

    #1318347

    ok found it and put it in a plugin:

    add_filter( ‘avf_google_heading_font’, ‘avia_add_content_font’);
    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘OpenSans’] = ‘Open Sans:200,300,300italic,400,400italic,600,600italic,700’;
    return $fonts;
    }

    looks like enfold is only loading standard values 400,600 and so on by default.

    #1318542

    Hi brouge,

    We are glad that you found the solution :)
    The reason we limit loading the font weights of google fonts is for speed purposes.
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘how to apply font weight 200 to elements’ is closed to new replies.