Tagged: x
-
AuthorPosts
-
October 3, 2016 at 7:18 pm #1201218
upskillacademyParticipantHi Guys,
For some reason I cannot stop this from loading on my site.
https://fonts.googleapis.com/css?family=Lato:400&subset=latin,latin-ext&ver=4.6.2
I’ve tried the adding the different code snippets as noted on this site to the functions.php to solve this issue- but none of them are working?
Any ideas?
Cheers
Dk
October 4, 2016 at 1:20 am #1201547
RupokMemberHi There,
To remove all google fonts, please add the following code under functions.php file locates in child theme:
add_action( 'wp_print_styles', 'my_deregister_styles', 100 ); function my_deregister_styles() { wp_deregister_style( 'x-google-fonts' ); }If google font still loads, then it might be coming from any plugin.
Hope it helps 🙂
October 4, 2016 at 2:23 am #1201592
upskillacademyParticipantHi Rupok,
So I added the code+ disabled the only thing I can think of that is loading it (the slider) and its still appearing?
October 4, 2016 at 4:34 am #1201713
FriechModeratorHi There,
On dashboard navigate to Punch Fonts and remove all the Google fonts request.
If this does not work, please provide us login credentials in private reply so we can take a closer look.
Thanks.
October 4, 2016 at 6:23 am #1201802
upskillacademyParticipantHello,
Thank you- but for some reason I cannot see Punch Fonts in my dashboard anywhere?
thank you
October 4, 2016 at 7:36 am #1201866
ChristianModeratorSorry for the confusion. Please add the code below in your Appearance > Customize > Custom > Global CSS
add_action( 'wp_enqueue_scripts', 'remove_x_google_fonts', 20 ); function remove_x_google_fonts() { wp_dequeue_style( 'x-google-fonts' ); }Hope that helps. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1201218 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
