Created
May 28, 2024 08:21
-
-
Save herbie4/333ad8ae2d488f1601aefd400b20638b to your computer and use it in GitHub Desktop.
Change the breakpoint of the Astra theme tablet view
This file contains hidden or 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
/** | |
* Change the breakpoint of the Astra tablet view | |
* | |
* @return int Screen width when the header should change to the mobile header. | |
*/ | |
function hhdev_change_header_breakpoint() { | |
return 1174; // change as you see fit | |
}; | |
add_filter( 'astra_tablet_breakpoint', 'hhdev_change_header_breakpoint' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment