Change the breakpoint for 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 | |
// Define a new breakpoint for woocommerce-smallscreen.css | |
function marce_filter_woocommerce_style_smallscreen_breakpoint( $breakpoint ) { | |
$breakpoint = '200px'; | |
return $breakpoint; | |
}; | |
add_filter( 'woocommerce_style_smallscreen_breakpoint', 'marce_filter_woocommerce_style_smallscreen_breakpoint', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment