Answer the question
In order to leave comments, you need to log in
How do I correctly combine the styles of third-party plugins with my theme's styles?
I decided to optimize my site and started disabling plugin styles. I copied all the plugin styles to my theme's style.css styles, changed the image paths, and still the post from disabling the plugin does not work correctly (For example, the Revolution Slider plugin). What did I do wrong? Tell me please.
Here is my code:
add_action('wp_print_styles','remove_styles',100);
function remove_styles() {
wp_deregister_style('rs-plugin-settings');}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question