Theme CSS affecting Plugin CSS
-
I’m attempting to fix some issues where the theme CSS styles are affecting the plugin styles.
Example:
In the theme, the author added this to their css:
a img{ background: #fff; }This creates problems (non just with the plugin, but the site itself too) if a transparent image is displayed. It adds a white background to the image.
My question is basically this: How is a plugin author supposed to get past this? You could write “reset” css in your plugin styles, but that seems REALLY messy.
Thanks for any help you guys can give me :).
The topic ‘Theme CSS affecting Plugin CSS’ is closed to new replies.