Title: adding CSS to a widget plugin
Last modified: August 20, 2016

---

# adding CSS to a widget plugin

 *  [Chris](https://wordpress.org/support/users/forumusr/)
 * (@forumusr)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/adding-css-to-a-widget-plugin/)
 * I have installed a widget plugin that presents category posts in the sidebar.
   I would like to add css to it, but I don’t understand the php well enough to 
   know how to do this.
 * How can I get it to either a) inherit current styles in the page body content,
   and/or b) apply attributes just to the widget (which would come from the theme
   stylesheet?
 * I do know css, it’s just a matter of how to incorporate it into the php of a 
   widget.
 * Thank you!

The topic ‘adding CSS to a widget plugin’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Chris](https://wordpress.org/support/users/forumusr/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/adding-css-to-a-widget-plugin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
