• opel N1

    (@opel-n1)


    Hi! In the Customizr theme, I need to disable some styles. I find the functions.php folder and see the following line: //Fire Customizr
    require_once( get_template_directory() . ‘/core/init-base.php’ ); I find init-base.php and insert the code /** Remove global inline styles */
    add_action( ‘wp_enqueue_scripts’, function() {
    wp_dequeue_style( ‘my-css’ );
    }, 20 ); but it doesn’t work. Can you tell me what’s wrong?

The topic ‘how to remove some css’ is closed to new replies.