Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

How do I override the google fonts loaded by the theme in my child theme?

Home / Forums / Ascend Theme / How do I override the google fonts loaded by the theme in my child theme?

This topic is: Not Resolved
[Not Resolved]
Posted in: Ascend Theme
Anonymous
February 20, 2019 at 5:44 am

I have a child theme for ascend and I added the following to functions.php in my child theme to reduce which fonts are loaded:

function wpb_add_google_fonts() {

wp_enqueue_style( 'wpb-google-fonts', ' false );
}

add_action( 'wp_enqueue_scripts', 'wpb_add_google_fonts' );

I could see that this was loading in chrome dev tools, but it was still also loading the following, which I assume comes from the parent theme:

How can I prevent this?

Thanks

  • The forum ‘Ascend Theme’ is closed to new topics and replies.