Hey guys!
I’m using some custom fonts on my site http://bit.ly/1IQlFE8 not the google fonts that come with the theme so how can I prevent these stylesheets http://drif.tt/1Di3l4l form being loaded? Because tthey are not necessary.
Please let me know!
Thanks
Hi Gigi!
Thank you for using Enfold.
Use this in the functions.php file to disable the default google font:
/* Disable Google Font embedding */
add_action( 'init', 'enfold_customization_switch_fonts' );
function enfold_customization_switch_fonts() {
global $avia;
$avia->style->print_extra_output = false;
}
Regards,
Ismael
Thanks for the quick reply, I have added the PHP but I still see the stylesheet being loaded http://drif.tt/1JHyHmb
Any other suggestion?
Thank you!
Hey!
please refer to this answer: https://kriesi.at/support/topic/remove-google-web-font/#post-206003
Regards,
Andy
I have disabled all the google fonts i can http://drif.tt/1IHakQc but apparently I cant choose anything else but Google fonts for the heading.
I don’t understand why it keeps on loading these now unless and unused fonts.. http://drif.tt/1IHasiN
I’ll leave my logins so you can take a look
Thank you!
Hi!
I’m not seeing any Google Font in the Resources lists, you may still see it because you’re logged-in (WordPress uses Open Sans in its interface).
Cheers!
Josue
You are right! We are all done with this ticket :)
Thanks!