Home Forums WoodMart support forum Font Awesome style sheet is loading thrice

Font Awesome style sheet is loading thrice

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

    webaits
    Participant

    Hi,

    The Font Awesome style is loading three times in the theme because of other plugins. And the same issue is with Basel theme as well.

    wp-content/plugins/yith-woocommerce-wishlist/assets/css/font-awesome.min.css
    wp-content/themes/basel/css/font-awesome.min.css
    wp-content/plugins/js_composer/assets/lib/bower/font-awesome/css/font-awesome.min.css

    #124434

    Artem Temos
    Keymaster

    Hi,

    You can remove the following line from the file functions.php file to remove our theme file. Unfortunately, we don’t have instructions on how to remove them from other plugins.

    wp_enqueue_style( 'font-awesome-css', WOODMART_STYLES . '/font-awesome.min.css', array(), $version );

    Regards

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