• Resolved dret42

    (@dret42)


    Hi,

    there is a way to disable totally Font-Awesome request from your plugin.

    I have disabled Font-Awesome inside Elementor settings but your plugin force to load it again.

    I found <link> tags in <head> with this id “hfe-social-share-icons-fontawesome-css”, “hfe-nav-menu-icons-css” and “hfe-social-icons-css” that load font-awesome.

    Thank in advance.
    Bye.

    • This topic was modified 1 month, 1 week ago by dret42.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support bsfankusht

    (@iankusht)

    Hi @dret42,

    Thank you for reaching out! We have passed your query to our developers for further review. Please allow us some time as they work on it. We’ll keep you updated as soon as we have more information.

    We appreciate your patience!?

    Kind Regards,
    Ankush ??

    Thread Starter dret42

    (@dret42)

    Thanks,

    I have temporarily resolved the issue in the following way:

    I created a function to override the “search button” widget (where the problem occurred) with this code in the “functions.php”:

    function custom_hfe_search_button_output( $output, $widget ) {
    // Check for Search Button if ( 'hfe-search-button' === $widget->get_name() ) { // Replace CSS class $output = str_replace( 'fas fa-search', 'my-search', $output ); $output = str_replace( 'fas fa-times', 'my-times', $output ); } return $output; } add_filter( 'elementor/widget/render_content', 'custom_hfe_search_button_output', 10, 2 );

    In this way, the “fas fa-xxx” classes are replaced with my custom classes , and Font-Awesome is no longer loaded on my page.

    In this way I can make my own style for search button, without use of external unusel resources!

    Plugin Support bsfankusht

    (@iankusht)

    Hi @dret42,

    Thank you for sharing your solution! I’m glad to hear it helped resolve the issue on your site.

    However, after consulting with our developers, we’d recommend caution with this custom code, as it could potentially impact other parts of your site. Since Elementor Header Footer Builder is an add-on for Elementor, it’s essential to run compatibility checks before implementing customizations like this.

    Since your code is working for now, please keep an eye out for any conflicts it might cause. We’ve also added this to our task list, and we’re working on providing a filter to enable or disable the Font Awesome library for performance optimization in future updates.

    Feel free to follow our changelog for updates on this feature. I’ll go ahead and mark this thread as resolved, but please don’t hesitate to reply here if you need further assistance, or start a new thread if there’s anything else we can help with.

    Best regards,
    Ankush ??

    Thread Starter dret42

    (@dret42)

    Thanks for suggestions and supporting!

    Plugin Support bsfankusht

    (@iankusht)


    @dret42 You are most welcome! ??

    Feel free to reply back to this thread if you still need any assistance or start a new thread if there’s anything else related to this plugin, we can help you with.
    ?
    Kind regards,
    Ankush???

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.