• Hello everyone!
    I would like to ask you how can I remove this line from the website code that is produced via the Elementor plugin.
    <link rel='stylesheet' id='font-awesome-css' href='....' media='all' />

    I tried hooks like this

    add_action( 'wp_enqueue_scripts', 'akis_child_deregister_styles', 99);
    function akis_child_deregister_styles() {
        wp_dequeue_style( 'font-awesome' );
        wp_dequeue_style( 'font-awesome-inline' );
    
    }

    but they seem they dont work.

    Could you please help me.

    All the best!
    Archimidis

The topic ‘Remove inline FontAwesome CSS’ is closed to new replies.