Title: Disable Plugin CSS
Last modified: August 24, 2016

---

# Disable Plugin CSS

 *  Resolved [themightyant](https://wordpress.org/support/users/themightyant/)
 * (@themightyant)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disable-plugin-css/)
 * Hi, great plugin but I was wondering is it possible to disable the front end 
   CSS. I am trying to create a full screen media wall and wanted to add my own 
   custom css.
 * [https://wordpress.org/plugins/instagram-feed/](https://wordpress.org/plugins/instagram-feed/)

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

 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/disable-plugin-css/#post-6048464)
 * Hey themightyant,
 * There’s two ways you can remove the plugin’s built-in CSS file:
 * 1) Stop it from loading by removing the enqueue function from the plugin’s source
   file. Just open the plugin’s **‘instagram-feed.php’** file and on line 200 you’ll
   see the following line:
 * `wp_enqueue_style( 'sb_instagram_styles' );`
 * Either remove that or comment it out.
 * Please note that using method 1 will mean that if you update the plugin then 
   you’ll overwrite this change. Another method which wouldn’t be overwritten is
   below.
 * 2) Remove the CSS file via JavaScript. This isn’t as efficient but would mean
   that you wouldn’t have to remake the change if you update the plugin. Just add
   the following to the plugin’s **Custom JavaScript** section, which is on the 
   plugin’s Customize page:
 * `$('#sb_instagram_styles-css').remove();`
 * Let me know whether either of those methods work for you.
 * John
 *  [jvolvovski](https://wordpress.org/support/users/jvolvovski/)
 * (@jvolvovski)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-plugin-css/#post-6048687)
 * Hi,
    I am having the same issue. I would like to remove the css using functions.
   php, so it’s not lost on an update. Do you know how to do that?
 * Thanks,
    Jenny
 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/disable-plugin-css/#post-6048688)
 * Hey Jenny,
 * If you use method #2 described above then it won’t be removed on an update as
   it’s saved in the plugin’s settings.
 * If you want to use your functions.php file specifically then you should be able
   to use `wp_dequeue_style( 'sb_instagram_styles' );` to dequeue the stylesheet
   there instead.
 * Let me know whether that solves the problem for you, and I hope you have a great
   weekend!
 * John

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

The topic ‘Disable Plugin CSS’ is closed to new replies.

 * ![](https://ps.w.org/instagram-feed/assets/icon-256x256.png?rev=2700807)
 * [Smash Balloon Social Photo Feed – Easy Social Feeds Plugin](https://wordpress.org/plugins/instagram-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instagram-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instagram-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/instagram-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instagram-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instagram-feed/reviews/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/disable-plugin-css/#post-6048688)
 * Status: resolved