• Resolved sguerreiro

    (@sguerreiro)


    I’m not using any of the font awesome symbols on my site, and the css file is render blocking me. Is there a way to disable that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @sguerreiro,

    You can open your theme’s functions.php and remove this line :
    wp_enqueue_style( 'onepress-fa', get_template_directory_uri() .'/assets/css/font-awesome.min.css', array(), '4.7.0' );

    or if you are using child theme, just put this in child theme’s functions.php :
    wp_deregister_style( 'onepress-fa' ) ;

    Hope it helps!

    Thread Starter sguerreiro

    (@sguerreiro)

    Hi @congthien,

    That seemed to do the trick! Thanks!

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

The topic ‘Disabling Font Awesome’ is closed to new replies.