Skip to content

Instantly share code, notes, and snippets.

@dustinleer
Last active May 25, 2022 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinleer/4f7f6f69558e956d0e759cf8118e1fcd to your computer and use it in GitHub Desktop.
Save dustinleer/4f7f6f69558e956d0e759cf8118e1fcd to your computer and use it in GitHub Desktop.
Changes the WooCommerce breakpoint
<?php
function woo_custom_breakpoint( $px ) {
$px = '782px';
return $px;
}
add_filter( 'woocommerce_style_smallscreen_breakpoint', 'woo_custom_breakpoint' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment