Move dashicons.min.css to Footer
Please try below code : add_action( ‘wp_print_styles’, ‘my_deregister_styles’ ); function my_deregister_styles() { wp_deregister_style( ‘dashicons’ ); } Replace your css path “PATH_OF_CSS” : add_action( ‘wp_footer’, ‘register_wp_footer’, 11 ); function register_wp_footer() { wp_enqueue_style( ‘dashicons’, ‘PATH_OF_CSS’ ,array(), false, true ); }