Support » Fixing WordPress » How to remove WP Polls CSS from Head

  • Hi!
    I have WP Polls installed on my WordPress.
    This plugin add some CSS code in WP head. This is the code:

    <style type="text/css">
    .wp-polls .pollbar {
        margin: 1px;
        font-size: 8px;
        line-height: 10px;
        height: 10px;
        background-image: url('');
        border: 1px solid #c8c8c8;

    How to delete this code?!?!?!
    Help please!

Viewing 1 replies (of 1 total)
  • Add this to your functions.php:

    remove_action('wp_head', 'poll_head_scripts');

    Also, it adds in polls-css.css. Would you like that removed?

    Edit: If so, add this to functions.php as well:

    add_action('wp_print_styles', 'polls_deregister_styles', 100 );
    function polls_deregister_styles() {
    	wp_deregister_style( 'wp-polls' );
Viewing 1 replies (of 1 total)
  • The topic ‘How to remove WP Polls CSS from Head’ is closed to new replies.