Created
August 3, 2014 20:12
-
-
Save themeblvd/c54a183ba91af06ff44f to your computer and use it in GitHub Desktop.
By default Jump Start responsive toggle (javascript) will be applied for tablets and below. This snippet will change that to mobile and below.
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
<?php | |
/** | |
* Kick in mobile menu starting at mobile(>768), | |
* instead of tablet (>993) | |
*/ | |
function my_js_locals( $locals ) { | |
$locals['mobile_menu_viewport_max'] = '767'; | |
return $locals; | |
} | |
add_filter( 'themeblvd_js_locals', 'my_js_locals' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment