Title: Using !important rules on .button is causing problems
Last modified: August 30, 2016

---

# Using !important rules on .button is causing problems

 *  Resolved [John Parris](https://wordpress.org/support/users/mindctrl/)
 * (@mindctrl)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/using-important-rules-on-button-is-causing-problems/)
 * You’re using !important on .button, and it’s causing issues with Easy Digital
   Downloads where it makes it show multiple buttons because it overrides the inline
   style we have on the element to hide it. We’ve seen two tickets about this today.
   Please consider not using !important in your CSS unless absolutely necessary,
   and please at least remove the one on .button so your theme plays nicely with
   EDD and other plugins.

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

 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/using-important-rules-on-button-is-causing-problems/#post-6656291)
 * Most beginners will use the **!important** clause because they can’t figure out
   how to get their CSS to work. As [@mindctrl](https://wordpress.org/support/users/mindctrl/)
   pointed out, indiscriminate use of **!important** can have unwanted side effects.
   If you do not understand how CSS specificity works, please read [this article](http://www.smashingmagazine.com/2007/07/css-specificity-things-you-should-know/).
   The only time you usually need to use **!important** is if you are intentionally
   trying to override an inline style.
 *  [rodicaelena](https://wordpress.org/support/users/rodicaelena/)
 * (@rodicaelena)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/using-important-rules-on-button-is-causing-problems/#post-6656408)
 * Hi,
 * Thank you for reporting this issue to us. We plan to improve our products with
   each new update and will definetly fix this.
 * Best regards,
    Rodica
 *  [JennBrown777](https://wordpress.org/support/users/jennbrown777/)
 * (@jennbrown777)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/using-important-rules-on-button-is-causing-problems/#post-6656431)
 * Hi, is there a workaround we can employ while we wait for you to update the theme?
   We’re trying to push an advertising campaign live and we can’t until we remove
   the extraneous buttons from the product pages (which are downloads pages on EDD).
 * Alternatively, can you advise when an update will be pushed?

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

The topic ‘Using !important rules on .button is causing problems’ is closed to new
replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/zerif-lite/1.8.5.49/screenshot.
   png)
 * Zerif Lite
 * [Support Threads](https://wordpress.org/support/theme/zerif-lite/)
 * [Active Topics](https://wordpress.org/support/theme/zerif-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/zerif-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/zerif-lite/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [JennBrown777](https://wordpress.org/support/users/jennbrown777/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/using-important-rules-on-button-is-causing-problems/#post-6656431)
 * Status: resolved