title: WordPress can't dequeue style
body: <p>I'm trying to get rid of unused styles in my WP. I'm doing it like this:</p>
  
  <pre><code>// remove CSS
  add_action('wp_dequeue_style', 'remove_css');
  
  function remove_css() {
      // boostrap shortcodes
      wp_dequeue_style(array(
          'bs_bootstrap-css',
          'bs_shortcodes-css'
      ));
  
      // woocommerce
      wp_dequeue_style('woocommerce-layout-css');
      wp_dequeue_style('woocommerce-smallscreen-css');
      wp_dequeue_style('woocommerce-general-css');
  }
  </code></pre>
  
  <p>Problem is, neither first nor the secound example works. I tried using <code>wp_deregister_script</code> and setting a priority to <code>add_action</code>. What can I do?</p>