Title: Theme CSS affecting Plugin CSS
Last modified: August 19, 2016

---

# Theme CSS affecting Plugin CSS

 *  [tgrk35](https://wordpress.org/support/users/tgrk35/)
 * (@tgrk35)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/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.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 0 replies
 * 1 participant
 * Last reply from: [tgrk35](https://wordpress.org/support/users/tgrk35/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/theme-css-affecting-plugin-css/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
