Plugin, Widget & CSS Output (1 post)

  1. itsonlybarney
    Posted 4 years ago #

    When creating a plugin that creates a widget for WordPress, should the plugin add CSS to style the widget, rather than letting default style.css theme file do the styling?

    If the plugin simply outputs a list, then I personally would rather the plugin owner leave styling to the theme file, but if it required customisation, then I would include a custom CSS file for the widget.

    The reason I ask, is that the output of TentBlogger Simple Top Posts forces CSS that doesn't fit in with the rest of the blog. To rectify the problem, I simply commented out the CSS that was tweaking the widget output.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by itsonlybarney
  • This topic is not a support question
  • WordPress version: 3.3.1