Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remove woocommerce-smallscreen.css
// Don't add this opening PHP tag unless your file doesn't already have one
// Remove woocommerce-smallscreen.css
function marce-remove-woocommerce-smallscreen-css( $enqueue_styles ) {
unset( $enqueue_styles['woocommerce-smallscreen'] ); // Remove the smallscreen optimisation
return $enqueue_styles;
add_filter( 'woocommerce_enqueue_styles', 'marce-remove-woocommerce-smallscreen-css' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment