Title: Dequeue google fonts
Last modified: January 19, 2021

---

# Dequeue google fonts

 *  Resolved [samthedev](https://wordpress.org/support/users/samthedev/)
 * (@samthedev)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/dequeue-google-fonts-3/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdequeue-google-fonts-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [samthedev](https://wordpress.org/support/users/samthedev/)
 * (@samthedev)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/dequeue-google-fonts-3/#post-14027414)
 * Solved this by:
 *     ```
       function deregister_lodgix_styles() {
   
           wp_deregister_style( 'lodgix_font_open_sans_css' ); 
   
           wp_deregister_style( 'lodgix_font_open_sans_condensed_css-css' );
   
       }
       add_action( 'wp_print_styles', 'deregister_lodgix_styles', 100 );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Dequeue google fonts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/lodgixcom-vacation-rental-listing-
   management-booking-plugin_33404c.svg)
 * [Lodgix.com Vacation Rental Website Builder](https://wordpress.org/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lodgixcom-vacation-rental-listing-management-booking-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lodgixcom-vacation-rental-listing-management-booking-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/lodgixcom-vacation-rental-listing-management-booking-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lodgixcom-vacation-rental-listing-management-booking-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lodgixcom-vacation-rental-listing-management-booking-plugin/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [samthedev](https://wordpress.org/support/users/samthedev/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/dequeue-google-fonts-3/#post-14027414)
 * Status: resolved