Title: Remove plugin CSS
Last modified: September 1, 2016

---

# Remove plugin CSS

 *  [Neil Nand](https://wordpress.org/support/users/neil-nand/)
 * (@neil-nand)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/remove-plugin-css/)
 * Hello,
 * I’m trying to remove the CSS file that this plugin adds to a site, I’ve tried
   using the code below but it doesn’t appear to remove it. I’ve also tried replacing“
   wp_head” with “init” to no avail. This has been added to the functions.php file
   of my theme.
 * I realise I can override the CSS either with my own styles.css file or in the
   plugin settings I believe but I’m changing so much of the styling that there 
   isn’t anything in the default stylesheet I’ll still be using so would prefer 
   to remove it from the site.
 *     ```
       function tmd_remove_plugin_assets(){
       	wp_dequeue_style('aitwitter');
       }
       add_action("wp_head", "tmd_remove_plugin_assets", 100);
       ```
   
 * Thanks for any help,
    Neil.
 * [https://wordpress.org/plugins/ai-twitter-feeds/](https://wordpress.org/plugins/ai-twitter-feeds/)

The topic ‘Remove plugin CSS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ai-twitter-feeds_bde0ed.svg)
 * [AI Twitter Feeds (Twitter widget & shortcode)](https://wordpress.org/plugins/ai-twitter-feeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ai-twitter-feeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ai-twitter-feeds/)
 * [Active Topics](https://wordpress.org/support/plugin/ai-twitter-feeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ai-twitter-feeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ai-twitter-feeds/reviews/)

## Tags

 * [remove css](https://wordpress.org/support/topic-tag/remove-css/)

 * 0 replies
 * 1 participant
 * Last reply from: [Neil Nand](https://wordpress.org/support/users/neil-nand/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/remove-plugin-css/)
 * Status: not resolved