• Hello,

    I’d like to move the plugin css to my theme’s style.css but I can figure out how to remove the css from the <head>

    I tried these pieces of code so far:

    (in functions.php)

    add_action( 'after_setup_theme', 'custom_slider_init', 16 );
    /**
     * Make amendments to the Genesis Slider, after it has been fully initialised.
     *
     * @since 1.0.0
     */
    function custom_slider_init() {
    	remove_action( 'wp_head', 'genesis_responsive_slider_head', 1 );
    }
    add_action( ‘init’ , ‘as247_remove_slider_styles’ , 15 );
    function as247_remove_slider_styles() {
    remove_action( ‘wp_print_styles’ , ‘genesis_slider_styles’ );
    }

    Any help is welcome!

    Website: Kozijnen-inkoop.nl B.V.

    https://ww.wp.xz.cn/plugins/genesis-responsive-slider/

The topic ‘Move css’ is closed to new replies.