Support » Plugin: oik » Disable all CSS

  • Resolved Elzette Roelofse

    (@semblance_er)


    Hello

    I was wondering, if there is an easy way to disable the oik.css file whilst using the plugin.

    There is a lot of css in there, using common names for the classes that is overwriting my theme CSS in a very unwanted way…

    Any ideas would be great!
    Thank you in advance.

    Elzette

Viewing 1 replies (of 1 total)
  • I figured something out:

    
    add_action( 'wp_print_styles', 'deregister_oik_styles', 100 );
    /**
     * Remove Oik CSS File.
     *
     */
    function deregister_oik_styles() {
    	wp_deregister_style( 'oikCSS' );
    }
    
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.