Forked from cobaltapps/dynamik-fixed-header-min-width-filter
Created
March 7, 2019 02:16
-
-
Save DalavanCloud/c4b39ab48a174406899edc73a2d39c32 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