The front end of the widget plugin has the widget launcher and once opened, it shows the actual widget with its elements. it has lots of styling issues which are 100% from whichever theme is currently active on the site. most of the styles get influenced and this is overridden by whichever theme is running and thus add its own styles to my widget. how can I make the widget 100% independent and only show its own styles without any interference from themes?

  • What widget plugin are you referring to? Commented Jul 18, 2022 at 6:17
  • my own. it's a help and support widget that shows help articles and also comes with a form.
    – Michael
    Commented Jul 18, 2022 at 6:22

1 Answer 1


You should always prefix everything when creating your own plugin. Also try to avoid generic classes like .col and .container. If you don't, that's a recipe for disaster.

So use .yourpluginprefix_container instead of just .container.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.