Viewing 3 replies - 1 through 3 (of 3 total)
  • I agree completely. I am trying to add a scroll bar, and this seems like the only solution. Just scouring these forums before I commit to it.

    I found a solution!
    Load a replacement style sheet just after wp_footer(). The plugin css is loaded in wp_footer(), ergo if you load a css after it which overrides the definitions in it.. problem solved.

    HackYaaaaa

    (@hackyaaaaa)

    @coope,

    I should have seen your reply. My solution was to override !important declaration by appending a new css with javascript.

    Alternatively, you can dequeue the plugin style and replace it with your own.

    But I agree with Jay & you that using !important in plugin style is less than ideal.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please do not use !important in plugin css’ is closed to new replies.