- This topic has 3 replies, 2 voices, and was last updated 4 years, 6 months ago by
Skandha.
-
AuthorPosts
-
September 11, 2018 at 9:42 am #153726
DavidForer
ParticipantIs there a way to remove Google Fonts? I can’t seem to find it anywhere in the theme.
Also, can we remove the code for the favicon? It is still making a call even when I have left it blank.
I would like to remove these two things from the theme altogether. To be honest both of them slow it down and some of us also don’t like using everything Google.
Thanks
david
September 12, 2018 at 12:30 am #153764Skandha
Participant@davidforer: To remove Google Fonts and Favicon you will need to create a child theme and do a bit of customization. Let me know if you are familiar with child theme customization otherwise I suggest you to hire a customizer to get it done. I will provide you the necessary codes if you are familiar with child theme customization.
Let me know if this helps you out!
Kind Regards,
SkandhaSeptember 12, 2018 at 2:41 am #153771DavidForer
ParticipantI have done a child theme before so I will be able to do it. Obviously it will take longer than someone like you but that would be great. Thanks
September 12, 2018 at 4:37 am #153781Skandha
Participant@davidforer: Firstly you will need to create a child theme. For that you can use our Generate Child Theme Plugin. Using the plugin create a child theme for Adonis Free Theme.
Now,
Go to => Child Theme Folder => functions.php => add the following Code.// Removing Google Fonts from theme function dequeue_google_fonts_style() { wp_dequeue_style( 'adonis-fonts' ); } add_action( 'wp_print_styles', 'dequeue_google_fonts_style' ); // Removing Site Icon feature from theme function remove_styles_sections($wp_customize) { $wp_customize->remove_control('site_icon'); } add_action( 'customize_register', 'remove_styles_sections', 20, 1 );
Let me know if this works out!
Kind Regards,
Skandha -
AuthorPosts
- The topic ‘Google Fonts’ is closed to new replies.