Tagged: , , ,

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

    I am trying to use the Lato font that is included in the theme. As you can see on the Lato google fonts page (https://fonts.google.com/specimen/Lato?utm_source=fount.artequalswork.com&utm_medium=bookmarklet) Lato cursive looks different than the normal one. (as you can see in the a’s and e’s).

    In enfold however when I make my lato tekst cursive. it doesnt actually take the cursive font, but forces the normal one to be cursive. Is there a fix? or should I manually try to add the cursive google font?

    Thanks

    Edit: I forced it in using
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Lato’] = ‘Lato:300,300i,400,400i,700,700i’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Lato’] = ‘Lato:300,300i,400,400i,700,700i’;
    return $fonts;
    }

    #725156

    Hi Doubledog!

    Thank you for using Enfold.

    Yes, you can use that filter to add more options for the “Lato” font. The filter looks good. Let us know if it’s not working.

    Regards,
    Ismael

    #726526

    This can be closed

    #727737

    Hi,

    Glad that this is fixed.

    Best regards,
    Nikko

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Using Lato cursive font forces Lato normal to be cursive.’ is closed to new replies.