The following filter will remove inline CSS generated by the Astra theme and Astra Pro plugin. Paste the following code into child theme’s functions.php file
IMPORTANT NOTE: This filter will remove all the inline CSS added by Astra which will affect the styling of your website.
function astra_force_remove_style() {
wp_dequeue_style( 'astra-theme-css' );
wp_dequeue_style( 'astra-addon-css' );
}
add_action( 'wp_enqueue_scripts', 'astra_force_remove_style', 99 );