Created
May 18, 2015 18:12
-
-
Save eri-trabiccolo/9e6153bbbcfe924a4f2d to your computer and use it in GitHub Desktop.
Add sticky-header offset
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
add_filter('tc_customizr_script_params', 'add_sticky_offset_param'); | |
function add_sticky_offset_param( $params){ | |
$params['stickyCustomOffset'] = '45'; /* in pixels */ | |
return $params; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment