Title: disable inline styles
Last modified: October 1, 2018

---

# disable inline styles

 *  [M](https://wordpress.org/support/users/angelxchild/)
 * (@angelxchild)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/disable-inline-styles/)
 * Stop forcing people to select colors for the global styling. If no colors are
   selected, it should default to be transparent or just not add the inline style,
   not force your default colors. Did it ever occur to you that people could be 
   using custom review templates or want the styles to come from their own stylesheet?

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

 *  Plugin Support [Suraj Vibhute](https://wordpress.org/support/users/suraj78/)
 * (@suraj78)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/disable-inline-styles/#post-10739677)
 * Hello Jenny,
 * Sorry for my ignorance but can you please tell me if setting the color in the
   Global general settings does not help in such cases?
 * Once set in the general settings, one does not need to set that every time for
   new posts.
 * Rather than adding custom colors in the custom template or stylesheet, you can
   add the same colors in the Global settings.
 * Looking forward to helping you. Thank you.
    -  This reply was modified 7 years, 8 months ago by [Suraj Vibhute](https://wordpress.org/support/users/suraj78/).
 *  Thread Starter [M](https://wordpress.org/support/users/angelxchild/)
 * (@angelxchild)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/disable-inline-styles/#post-10739710)
 * It’s fine to have it for people who wish to set the global colors, but for those
   who don’t, you’re adding default colors regardless, with no way of removing those
   colors. If no color values are set, the default should be transparent, or just
   not add those inline styles at all.
 *  Plugin Support [Suraj Vibhute](https://wordpress.org/support/users/suraj78/)
 * (@suraj78)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/disable-inline-styles/#post-10739740)
 * Hello Jenny
 * Sorry to disappoint but the plugin is coded in this way only.
 * Most of the users set global values to the options, otherwise, plugin’s styling
   gets break.
 * What I’m adding internally is a request to introduce a new filter to disable 
   inline stylesheet.
 * Hope that helps. If there’s anything else, please let me know. I’m here to help.
   Thank you.
 *  Plugin Support [Suraj Vibhute](https://wordpress.org/support/users/suraj78/)
 * (@suraj78)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/disable-inline-styles/#post-10742282)
 * Hello Jenny,
    I have discussed this issue with our developers, they told me about
   the existing filter present in the plugin which will remove the inline CSS.
 * Please add below code in the functions.php file present in your theme file and
   it will remove the inline CSS.
 * `add_filter( 'wp_review_color_output', '__return_empty_string' );`
 * Hope this helps.
    Thank you.
 *  Thread Starter [M](https://wordpress.org/support/users/angelxchild/)
 * (@angelxchild)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/disable-inline-styles/#post-10911991)
 * Tried adding that to my functions.php, didn’t do anything.
 *  Plugin Support [Suraj Vibhute](https://wordpress.org/support/users/suraj78/)
 * (@suraj78)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/disable-inline-styles/#post-10912109)
 * Hello [@angelxchild](https://wordpress.org/support/users/angelxchild/),
 * It is working fine for me. Are you using any cache plugin or Cloudflare cache?
   If yes please try clearing the cache or disable the cache plugin for some time.
 * Looking forward to helping you.
 * Thank you.

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

The topic ‘disable inline styles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-review_e57c82.svg)
 * [WordPress Review Plugin: The Ultimate Solution for Building a Review Website](https://wordpress.org/plugins/wp-review/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-review/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-review/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-review/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-review/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-review/reviews/)

## Tags

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

 * 6 replies
 * 2 participants
 * Last reply from: [Suraj Vibhute](https://wordpress.org/support/users/suraj78/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/disable-inline-styles/#post-10912109)
 * Status: not resolved