Title: Remove !important from plugin CSS
Last modified: August 21, 2016

---

# Remove !important from plugin CSS

 *  [gstricklind](https://wordpress.org/support/users/gstricklind/)
 * (@gstricklind)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/remove-important-from-plugin-css/)
 * I see a lot of threads regarding issues or difficulty changing css or color values.
   Couldn’t you simply remove `!important` from your CSS code so that theme styles
   aren’t overridden when trying to customize the icons? I could edit the plugin
   files, but that should never be an option for something so simple as CSS.
 * [https://wordpress.org/plugins/simple-social-icons/](https://wordpress.org/plugins/simple-social-icons/)

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

 *  Plugin Contributor [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/remove-important-from-plugin-css/#post-5004177)
 * See my explanation here: [http://wordpress.org/support/topic/removing-plugins-css](http://wordpress.org/support/topic/removing-plugins-css)
 *  Thread Starter [gstricklind](https://wordpress.org/support/users/gstricklind/)
 * (@gstricklind)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/remove-important-from-plugin-css/#post-5004220)
 * Hi Ron. Due to the nature of your plugin, I don’t think it’s necessary to use!
   important (as much).
 * You mention:
 * > – the markup around the widget is dependent on the theme
   >  – common widget elements
   > are given default styling by the theme – in many instances the default styling
   > has a more specific selector
 * This may be true for **common widget elements**, but since your plugin creates
   and styles its own classes, there shouldn’t a problem or theme conflict.
 * Please read on consider this article by a core contributor regarding plugin styles:
   [https://pippinsplugins.com/write-simple-css-in-plugins/](https://pippinsplugins.com/write-simple-css-in-plugins/)
 *  Plugin Contributor [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * (@wpmuguru)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/remove-important-from-plugin-css/#post-5004348)
 * > This may be true for common widget elements,
 * Most of the common widgets use unordered lists which is what Simple Social icons
   uses.
 * It would be rare for a theme to not have unordered lists in sidebars styled differently
   than an unordered list in the post content. To do that they have to use sidebar
   specific selectors to target the widgets.
 * In other words, nearly every theme has more specific styling for the unordered
   lists in widgets.
 * > Please read on consider this article by a core contributor
 * I’m a core contributor as well [https://core.trac.wordpress.org/search?q=wpmuguru&noquickjump=1&changeset=on](https://core.trac.wordpress.org/search?q=wpmuguru&noquickjump=1&changeset=on)

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

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

 * ![](https://ps.w.org/simple-social-icons/assets/icon.svg?rev=3358424)
 * [Simple Social Icons](https://wordpress.org/plugins/simple-social-icons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-social-icons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-social-icons/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-social-icons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-social-icons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-social-icons/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ron Rennick](https://wordpress.org/support/users/wpmuguru/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/remove-important-from-plugin-css/#post-5004348)
 * Status: not resolved