Hi!
Try adding this custom code to the functions.php file in your active theme directory:
add_action( 'wp_enqueue_scripts', 'remove_asl_gf', 20 );
function remove_asl_gf() {
wp_dequeue_style( 'wpdreams-gf-opensans' );
wp_deregister_style( 'wpdreams-gf-opensans' );
}
This should de-register the open-sans font declaration by ajax search lite.
Thank you, this code is works for me!
Best Regards!
Hi, first of all I want to thank you for this very useful plugin. I’m planning to purchase pro version when my site income will grow.
I tried to use your code
add_action( 'wp_enqueue_scripts', 'remove_asl_gf', 20 );
function remove_asl_gf() {
wp_dequeue_style( 'wpdreams-gf-opensans' );
wp_deregister_style( 'wpdreams-gf-opensans' );
}
But I think the plugin is still loading open sans in the header. How can I delete this call?
But I think the plugin is still loading open sans in the header. How can I delete this call?
Find in /wp-content/plugins/ajax-search-lite/includes/classes/shortcodes/class-asl-search.php:
<link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
Delete this.