Hi @soyossi,
Hope you are doing good 🙂 I just visited the site and I can’t find any CSS related to this plugin is loading in the head.
Can you please share a screenshot or explain more about this issue?
Thanks!
thank for the reply, how can i add a screen shot here?
The CSS file named “easy-facebook-likebox-frontend.css” in not unused. This file is responsible for handling all the layouts of Facebook module we can’t remove it
its not used on the main page, only in products pages i use the like box. so is there no way to remove it or to block it on the main page?
thanks
There is not any option/functionality available in the plugin but you can deregister the styles from specific pages by adding the custom code in your active theme functions.php file.
I just created a small function that will deregister the style from the home page.
add_action( 'wp_enqueue_scripts', 'remove_stylesheets', 20 );
function remove_stylesheets() {
if ( !is_home() || !is_front_page() ){ return; }
wp_dequeue_style( 'easy-facebook-likebox-frontend' );
wp_deregister_style( 'easy-facebook-likebox-frontend' );
}
Let me know if it works for you
The drive link is not public, it’s not working for me.
Are you using any cache plugin which is merging the styles and printing in the head?