Dequeue google fonts
-
We would like to disable Google fonts loaded by Lodgix from the site. We tried this on our functions.php:
function remove_lodgix_google_fonts() { wp_dequeue_style( 'lodgix_font_open_sans_css' ); wp_dequeue_style( 'lodgix_font_open_sans_condensed_css-css' ); } add_action( 'wp_enqueue_scripts', 'remove_lodgix_google_fonts' );
Unfortunately this does not work. What are we missing?
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 ‘Dequeue google fonts’ is closed to new replies.