Disable open sans font
-
Hi there, we’re trying to stop the following from loading to help improve page performance:
/yith-woocommerce-badges-management/assets/fonts/open-sans/open-sans-v27-latin-ext_latin-700.woff2
I found some previous threads on the same topic but I can’t get the code to work in our example:
add_action( ‘wp_enqueue_scripts’, ‘yith_wcbm_dequeue_google_fonts’,999 );
function yith_wcbm_dequeue_google_fonts(){
php
wp_dequeue_style( ‘googleFontsOpenSans’ );
}.yith-wcbm-badge {
css
font-family: ‘Poppins’, sans-serif;
}Any help appreciated!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Disable open sans font’ is closed to new replies.