Disabled stack CSS file

Hello ! Is there a proper way to disabled entirely stack CSS file in pro ?

In some case, i want to work with the tools in the theme, but without any css charge by the stack so i can do my own stuff

Thanks !

Hey @popoche,

Add the following code in your child theme’s functions.php

add_action('init', 'remove_x_styles', 20);

function remove_x_styles() {
  remove_action( 'wp_enqueue_scripts', 'x_enqueue_site_styles' );  
}

Please just note that we are not responsible for any issues that this will cause in your site and we will not provide fixes and enhancements.

Hope that helps.

Thank you very much, its working like i wanted :slight_smile: !

You’re welcome!
We’re glad @Christian were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.