Title: Disable inline CSS?
Last modified: April 6, 2017

---

# Disable inline CSS?

 *  Resolved [smerriman](https://wordpress.org/support/users/smerriman/)
 * (@smerriman)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-inline-css-2/)
 * Having the ability to specify lots of colors etc in the backend is handy for 
   non-developers.
 * I’m building a custom WordPress theme and want to have the recipe styling inherit
   things like fonts and colors from the rest of the theme styles. It seems I have
   two options:
 * – duplicate all of the values within the theme CSS into the WP Recipe Maker settings
   page
    – have a completely custom WP Recipe Maker template which gets rid of every
   single class used by the plugin to ensure the inline CSS that the plugin outputs
   doesn’t touch them.
 * Is it possible to improve this by having an option to disable all these inline
   styles altogether?

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

 *  Thread Starter [smerriman](https://wordpress.org/support/users/smerriman/)
 * (@smerriman)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-inline-css-2/#post-8999081)
 * This works for the time being in functions.php but will it cause future issues
   with the plugin?
 *     ```
       if (class_exists('WPRM_Template_Manager')) {
       	remove_action('wp_head',array('WPRM_Template_Manager','custom_css'));
       }
       ```
   
    -  This reply was modified 9 years, 2 months ago by [smerriman](https://wordpress.org/support/users/smerriman/).
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-inline-css-2/#post-8999412)
 * I will look into adding a setting for that.
 * Brecht
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-inline-css-2/#post-9017866)
 * Hi again,
 * I wanted to let you know that we just released WP Recipe Maker 1.17.0 which includes
   a setting to disable this inline CSS on the WP Recipe Maker > Settings > Features
   page.
 * Kind regards,
    Brecht

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

The topic ‘Disable inline CSS?’ is closed to new replies.

 * ![](https://ps.w.org/wp-recipe-maker/assets/icon-256x256.png?rev=2967063)
 * [WP Recipe Maker](https://wordpress.org/plugins/wp-recipe-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-recipe-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-recipe-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-recipe-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-recipe-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-recipe-maker/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Brecht](https://wordpress.org/support/users/brechtvds/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/disable-inline-css-2/#post-9017866)
 * Status: resolved