R
R
Rinaax2017-02-17 10:23:19
css
Rinaax, 2017-02-17 10:23:19

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

1 answer(s)
I
Igor Mavlikhanov, 2017-02-17
@Gori4ka

Here, try to do it with this plugin bwp-minify

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question