Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #381200

    Hi,
    When I open my site in firefox google fonts are getting pixelated and not coming properly.
    Is there any work around to it?
    I have found one solution to it . The solution is to add fonts locally.
    Can you tell me that how to load fonts locally using font face in our theme?

    #381412

    Hey infigic!

    Thank you for using Enfold.

    I checked the site on Firefox and texts using google fonts doesn’t seem to be pixelated:

    Cheers!
    Ismael

    #381583

    Hi,
    Attaching screenshot for the same issue.
    http://www.evernote.com/shard/s497/sh/deb5767a-b5a9-46fa-9e9c-3ee14530a133/3a7773abe93c1714a8019f96e82d2626

    Does it depend on firefox version too?

    #381598

    Hi!

    Font looks fine on my end as well – http://i.imgur.com/NF273lv.png
    Which version of Firefox are you using?

    Best regards,
    Yigit

    #381736

    Hi,
    I am using same version as of yours.

    #381757

    Hi!

    Do you have any active browser plugins/extensions? If so, please try disabling them and check if that helps. Also, which OS are you using?

    Cheers!
    Yigit

    #382476

    Hi,
    I tried disabling all the addons but of no use. I am on WIndows 8.1

    Hope this helps.

    #384012

    Hi!

    Have you tried checking your website on another computer using Firefox?

    Please see – http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/
    or try using this plugin http://wordpress.org/plugins/wp-font-face/

    Regards,
    Yigit

    #416959

    I have added custom fonts in my theme functions.php
    Now i uploaded a child theme file.
    I want to move the code from main file to child functions.php how can it be done?

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Titillium Web'] = 'Titillium Web:300,600,400,700';
    $fonts['Rokkitt'] = 'Rokkitt:400,700';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Titillium Web'] = 'Titillium Web:300,600,400,700';
    $fonts['Rokkitt'] = 'Rokkitt:400,700';
    return $fonts;
    }
    #417203

    Hi!

    You can simply add the code to functions.php file of your child theme.

    Cheers!
    Yigit

    #417367

    Hi,

    I added that in my child theme functions.php but the site then shows white screen.

    Regards

    #417806

    Hi!

    Did you remove the code in the parent theme’s functions.php? Make sure that the code, like apostrophe symbols, are intact.

    Best regards,
    Ismael

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