Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Untested, but if you’ve identified the CSS, have you tried overriding the plugin’s CSS with !important in your theme’s style.css file?

    Plugin Author Marcin Pietrzak

    (@iworks)

    I want to remove upprev.css and add codes to theme’s style.css. How to do that?

    Use wp_dequeue_style function.

    <?php
    add_action( 'wp_enqueue_scripts', 'iworks_upprev_wp_dequeue_style', 999 );
    function iworks_upprev_wp_dequeue_style()
    {
        wp_dequeue_style( 'upprev-css' );
    }
    ?>

    Add this code to functions.php of active theme or create a (mu)plugin.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Marcin would know best, he wrote the plugin after all. 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: upPrev] How to move css to theme stylesheet.’ is closed to new replies.