Title: How to set CSS style options when using shortcode
Last modified: August 31, 2016

---

# How to set CSS style options when using shortcode

 *  [mgreis](https://wordpress.org/support/users/mgreis/)
 * (@mgreis)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-set-css-style-options-when-using-shortcode/)
 * I’m using the rpwe shortcode and want to change just one or a few of the styling
   options. (Basically, I want to change the font size from 12px to 1em, which looks
   and scales better on the page.)
 * I tried changing the styles in my theme’s CSS, but that didn’t work. When I inspect
   the CSS, the plugin’s default styling is inline, so it overrides my stylesheet.
 * If I use the `default_styles="false"` shortcode option, I lose all the styling.
   I suppose I could recreate all the plugin’s styling in my CSS file, but that 
   doesn’t seem like the best solution.
 * Is there an easier way to do what I want to do?
 * Any help would be appreciated!
 * [https://wordpress.org/plugins/recent-posts-widget-extended/](https://wordpress.org/plugins/recent-posts-widget-extended/)

The topic ‘How to set CSS style options when using shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mgreis](https://wordpress.org/support/users/mgreis/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/how-to-set-css-style-options-when-using-shortcode/)
 * Status: not resolved