Title: modifying plugins stylesheet
Last modified: August 20, 2016

---

# modifying plugins stylesheet

 *  [staceyzav](https://wordpress.org/support/users/staceyzav/)
 * (@staceyzav)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/modifying-plugins-stylesheet/)
 * Hi –
    I know the proper way to modify a theme’s stylesheet is via a child theme.
   What is the best practice for modifying a plug-ins styleheet? I have tried to
   modify the style on the child’s themes style sheet but the changes don’t take.
   I don’t want to modify the plugin’s styleheet as the changes will get overwritten
   in an update.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/modifying-plugins-stylesheet/#post-2882701)
 * Ideally, you would need to choose your CSS selectors carefully, so that your 
   theme’s CSS over-rides the plugin’s. If that still fails, use the `!important`
   rule.
 *  Thread Starter [staceyzav](https://wordpress.org/support/users/staceyzav/)
 * (@staceyzav)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/modifying-plugins-stylesheet/#post-2882772)
 * The plug in always chooses the selectors, I think.
 * I’ve been told the !important rule is not best practice (is that true)? Is there
   a way to override the style sheet with my main theme’s sheet, like I do with 
   the child theme style sheet?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/modifying-plugins-stylesheet/#post-2882813)
 * > The plug in always chooses the selectors, I think.
 * Sorry? I don’t follow. You can add whatever CSS you want to your child theme’s
   stylesheet.
 * > (is that true)
 * Generally, yes but it’s there for exactly the kinds of situations, so it wouldn’t
   be contrary to best practice here.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘modifying plugins stylesheet’ is closed to new replies.

## Tags

 * [Modify](https://wordpress.org/support/topic-tag/modify/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/modifying-plugins-stylesheet/#post-2882813)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
