Created
January 23, 2017 11:50
-
-
Save cobaltapps/81c2e7aed398f6534d408252630f84e4 to your computer and use it in GitHub Desktop.
Sets a custom minimum width for the fixed header functionality to remain in effect.
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
/* | |
* Sets a custom minimum width for the fixed header functionality to remain in effect. | |
* Paste this into your Custom Functions and then adjust the '920' value to your specific needs. | |
*/ | |
add_filter( 'dynamik_fixed_header_min_width', 'custom_fixed_header_min_width' ); | |
function custom_fixed_header_min_width() { | |
return '920'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment