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.
- The topic ‘Plugin, Widget & CSS Output’ is closed to new replies.