Add custom css file after plugin css with WordPress Child Theme functions.php

The original stylesheet is enqueued as openpos.bill.bootstrap wp_enqueue_style(‘openpos.bill.bootstrap’, OPENPOS_URL.’/assets/css/bootstrap.css’) // load my custom css after this one But you’ve set openpos.bill.style as the dependency: wp_enqueue_style(‘bill-screen-style’, get_stylesheet_directory_uri() . ‘/include-parts-from-functions-php-file/frontend-related/plugins/openpos-plugin/pos-app/css/bill-screen-style.css’,array(‘openpos.bill.style’)); These need to be the same.

Dequeue styles with query doesn’t work

Thank you very much @Tom J Nowell and @Sally CJ . As you pointed out, it worked with the below: function remove_inline_style(){ if ( is_page( ‘live’ ) ){ remove_action( ‘wp_enqueue_scripts’, array( Design_Scheme::get_instance(), ‘header_style_css’ ), 11 ); } } add_action( ‘wp_enqueue_scripts’, ‘remove_inline_style’); thank you for your help.