• Hey team,

    There is CSS file that loads in my theme that has very little content.

    /wordpress-social-login/assets/css/style.css?ver=4.9.2

    and this file contains:
    .wp-social-login-provider-list{padding:10px}.wp-social-login-provider-list a{text-decoration:none}.wp-social-login-provider-list img{border:0}

    How can make this not load in my theme?
    I will then add this as custom css in my theme.
    Its just adding request and likely it will increase the load time.

    I would appreciate your input on this.

    Thank you

Viewing 1 replies (of 1 total)
  • Hey,

    To stop loading the external CSS file, you can simply put those lines to your functions.php file:

    add_action('wp_enqueue_scripts', function () {
                wp_dequeue_style('wsl-widget');
            });

    Hope it helps.

Viewing 1 replies (of 1 total)

The topic ‘Small inline CSS file’ is closed to new replies.