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

    (@rightpress_support)

    Hi there,

    It’s is loaded in the Footer, using method enqueue_frontend_scripts_and_styles() from the main file. You can try to hook into ‘wp_footer’ – you might be trying to dequeue it before it got into queue.

    Thread Starter J053P4

    (@thetasteofbliss)

    Thanks for the reply.

    Well, for one CSS specific file I tried

    function remove_chimpy_lite() {
    	wp_dequeue_style( 'chimpy-lite' );
    	wp_deregister_style( 'chimpy-lite' );
    }
    add_action( 'wp_footer', 'remove_chimpy_lite', 100 );

    and that didn’t work.

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

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