• Resolved mattgerrish

    (@mattgerrish)


    Hi,

    I like to dequeue the plugin styles as I don’t need 3 stylesheets called.

    I’ve tried the following in functions.php but it doesn’t work:

    add_action(‘wp_enqueue_scripts’, ‘dequeue_glossary_plugin_style’, 100);
    function dequeue_glossary_plugin_style(){
    wp_dequeue_style(‘glossary-general-css’);
    wp_dequeue_style(‘glossary-hint-css’);
    wp_dequeue_style(‘glossary-mobile-tooltip-css’);
    }

    Any pointers much appreciated.

    Thanks,
    Matt

Viewing 3 replies - 16 through 18 (of 18 total)
Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘dequeue css’ is closed to new replies.