• Resolved John Parris

    (@mindctrl)


    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)
  • Most beginners will use the !important clause because they can’t figure out how to get their CSS to work. As @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. The only time you usually need to use !important is if you are intentionally trying to override an inline style.

    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

    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.