If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #15757

    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.



    Open functions.php and find this code

    * dynamic styles for front and backend
    function avia_custom_styles()
    require_once( 'includes/admin/register-dynamic-styles.php' ); // register the styles for dynamic frontend styling

    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.



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

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