Created
May 19, 2017 15:28
-
-
Save mikeyarce/ed62faa16834613aaca9b48bb975dcfd to your computer and use it in GitHub Desktop.
Remove woocommerce-smallscreen.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Don't add this opening PHP tag unless your file doesn't already have one | |
<?php | |
// 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