Support » Plugin: WP Recipe Maker » Disable inline CSS?

  • Resolved smerriman

    (@smerriman)


    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)
  • 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 2 years, 10 months ago by smerriman.
    Plugin Author Brecht

    (@brechtvds)

    I will look into adding a setting for that.

    Brecht

    Plugin Author Brecht

    (@brechtvds)

    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.