Skip to content

Instantly share code, notes, and snippets.

@cobaltapps
Created January 23, 2017 11:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save cobaltapps/81c2e7aed398f6534d408252630f84e4 to your computer and use it in GitHub Desktop.
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.
/*
* 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