Webriti Support Forum
WordPress Premium Themes
CHange Google Fonts for theme
I have a child theme created, and I want to change the Google fonts that are included. I don't seem to be able to override the functions in the ./functions/font/font.php file. How would I go about this?
In child funcitons.php I'm trying this to remove the call altogether:
remove_action( 'wp_enqueue_scripts', 'appointment_scripts_styles' );
add_action( 'wp_head', 'child_remove_parent_function');
Then I will add my own.
Unless I'm missing something, this function is not plugable.
To change google font simply follow given instruction.
1. Go to in your theme directory >> functions >> font >> font.php
Now here line number 12 enter you google font name.
2. Go to style.css and replace all font with your required font.
Let me know did it work.
This works, but if I update the theme will that file not get overwritten?
yes it will be lose if you update your theme in future. for now you have to need make all changes in you new package and then update it . until we are not release theme with google font support settings.
For now can i close this ticket