Tagged: font awesome
-
AuthorPosts
-
October 9, 2022 at 10:48 am #1368098
Hello, I would like to disable the automatic loading of Font-Awesome. To do this, I need to find this line (or similar) in the functions.php file….
wp_enqueue_style('mh-font-awesome', "//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css", array(), null);…and then replace it with this one:
// Dequeue Styles - Remove Font Awesome from WordPress Theme add_action( 'wp_print_styles', 'dequeue_font_awesome_style' ); function dequeue_font_awesome_style() { wp_dequeue_style( 'mh-font-awesome' ); wp_deregister_style( 'mh-font-awesome' ); }I can’t find it anywhere though. Not even in functions-enfold.php. Where can I find them? Thanks.
October 9, 2022 at 2:46 pm #1368113it is part of advanced layerslider – so if you do not need advanced layerslider – you can deactivate the whole layerslider on Layout Builder Tab
you find the instruction to load on: /config-layerslider/LayerSlider/assets/includes/October 10, 2022 at 7:13 am #1368205Hi,
Thanks for the info @Guenni007.
@hugogimenez: Are you using the Layer Slider? If not, you can disable it by adjusting the Enfold > Layout Builder > Layerslider Options as @Guenni007 suggested above.Best regards,
IsmaelOctober 10, 2022 at 8:56 am #1368215Hello, thank you. It did not work, please see the screenshots. Font-Awesome is still loading in browser.

October 10, 2022 at 10:06 am #1368235Hi,
Looks like font icon file is also added by the _3d-flip-book plugin.
// https://1drv.ms/u/s!AjjTfXSRbKTvyTLzrumd1K2yZkJ1?e=qG8LmN
You may need to disable it from the plugin’s theme options. Please contact the plugin developer for more info.
Best regards,
IsmaelOctober 10, 2022 at 10:45 am #1368241October 16, 2022 at 11:33 am #1369003Resolved. Thank you @Guenni007 and @Ismael. 3d-flip-book is uninstalled. No Font-Awesome is loaded anymore.
October 16, 2022 at 1:31 pm #1369009Hi,
Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘"font-awesome" in functions.php?’ is closed to new replies.

