Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jan-Peter

    (@starguide)

    Hi Nils,

    you need to make sure where and when you call it. If you call it prior to our plugin adding it, it won’t have any effect. Since you are talking about a theme I suppose you want to do it in the function.php of your theme. So you could add the following code for example:

    // remove Shariff CSS
    function shariff3UU_remove_css() {
    	wp_dequeue_style( 'shariffcss' );
    }
    add_action( 'wp_footer', 'shariff3UU_remove_css' );

    Of course you need to make sure in the future that you are updating your CSS whenever we change something in our CSS. The changelog should give you a hint, whenever that happens.

    Cheers,
    JP

    Thread Starter jackennils

    (@jackennilsen)

    Yes that’s exactly what I wanted to do. Thanks a lot for your help and keep up the great work! 🙂

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

The topic ‘dequeue plugin's style sheet’ is closed to new replies.