Could you please indicate how I might be able to completely disable the Dynamic CSS function? Now that the styling of my site has been finalized, I'll take the CSS that is generated and just add it to custom.css.
Disable Dynamic CSS
2 posts from 2 voices-
Posted 8 months ago #
-
Hi,
Open functions.php and find this code
/* * dynamic styles for front and backend */ if(!function_exists('avia_custom_styles')) { function avia_custom_styles() { require_once( 'includes/admin/register-dynamic-styles.php' ); // register the styles for dynamic frontend styling avia_prepare_dynamic_styles(); } add_action('init', 'avia_custom_styles', 20); add_action('admin_init', 'avia_custom_styles', 20); }It starts there. Note: Some style will be broken if you remove that function.
Regards,
IsmaelPosted 8 months ago #
Reply
You must log in to post.














