how to stop loading Font awesome but not disable it
-
Hi,
I set up Font awesome to load locally so need to stop Elementor from loading it but not completely disable it. I tried adding the following code and then all icons disappeared,
add_action( ‘elementor/frontend/after_register_styles’,function() {
foreach( [ ‘solid’, ‘regular’, ‘brands’ ] as $style ) {
wp_deregister_style( ‘elementor-icons-fa-‘ . $style );
}
}, 20 );Please advise.
The page I need help with: [log in to see the link]
- The topic ‘how to stop loading Font awesome but not disable it’ is closed to new replies.