Title: dequeue plugin&#039;s style sheet
Last modified: September 1, 2016

---

# dequeue plugin's style sheet

 *  Resolved [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * (@jackennilsen)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/dequeue-plugins-style-sheet/)
 * Hey there,
 * I’d like to dequeue the plugin’s style sheet in order to put it all in my theme’s
   style sheet.
 * I used wp_deregister_style(‘shariffcss’); but it’s still loading. Any idea?
 * Thanks.
 * //Nils
 * [https://wordpress.org/plugins/shariff/](https://wordpress.org/plugins/shariff/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Jan-Peter](https://wordpress.org/support/users/starguide/)
 * (@starguide)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/dequeue-plugins-style-sheet/#post-7685670)
 * Hi Nils,
 * you need to make sure where and when you call it. If you call it prior to our
   plugin adding it, it won’t have any effect. Since you are talking about a theme
   I suppose you want to do it in the `function.php` of your theme. So you could
   add the following code for example:
 *     ```
       // remove Shariff CSS
       function shariff3UU_remove_css() {
       	wp_dequeue_style( 'shariffcss' );
       }
       add_action( 'wp_footer', 'shariff3UU_remove_css' );
       ```
   
 * Of course you need to make sure in the future that you are updating your CSS 
   whenever we change something in our CSS. The changelog should give you a hint,
   whenever that happens.
 * Cheers,
    JP
 *  Thread Starter [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * (@jackennilsen)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/dequeue-plugins-style-sheet/#post-7685674)
 * Yes that’s exactly what I wanted to do. Thanks a lot for your help and keep up
   the great work! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘dequeue plugin's style sheet’ is closed to new replies.

 * ![](https://ps.w.org/shariff/assets/icon.svg?rev=2006307)
 * [Shariff Wrapper](https://wordpress.org/plugins/shariff/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shariff/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shariff/)
 * [Active Topics](https://wordpress.org/support/plugin/shariff/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shariff/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shariff/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jackennils](https://wordpress.org/support/users/jackennilsen/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/dequeue-plugins-style-sheet/#post-7685674)
 * Status: resolved