• I’d love to get rid of this css file being included by Chimpy, is it safe to remove?

    I tried to remove it like this, but it still seems to get loaded:

    function dequeue_font_awesome_css() {
      wp_dequeue_style('chimpy-lite-font-awesome');
      wp_deregister_style('chimpy-lite-font-awesome');
    }
    add_action('wp_enqueue_scripts','dequeue_font_awesome_css', 100);

    How can I do this?

    https://www.ads-software.com/plugins/chimpy-lite/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter SH10151

    (@sh10151)

    Would love to remove FontAwesome – really don’t need it.

    Please help!

    Thread Starter SH10151

    (@sh10151)

    Bump. Any chance you can help me remove FontAwesome from the Chimpy plugin? I really don’t need it and it is a pretty big file I’d like to get off my web pages…

    You can open the file chimpy-lite.php

    add “//” to comment out the following lines:
    line 594
    line 1563
    line 1580
    line 1634
    line 1637
    line 1640

    for example, on line 1563:

    change:
    wp_register_style(‘chimpy-lite-font-awesome’, CHIMPY_LITE_PLUGIN_URL . ‘/assets/css/font-awesome/css/font-awesome.min.css’, array(), ‘4.0.3’);

    to:
    // wp_register_style(‘chimpy-lite-font-awesome’, CHIMPY_LITE_PLUGIN_URL . ‘/assets/css/font-awesome/css/font-awesome.min.css’, array(), ‘4.0.3’);

    Worked for me anyway..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is FontAwesome really required or can I remove it?’ is closed to new replies.