Skip to content

Snippet: Alter The Sticky Shrink Header Height

function my_custom_sticky_header_height( $array ) {
	$array['shrinkHeaderHeight'] = 100; // EDIT THIS.
	//$array['shrinkHeaderLogoHeight'] = 70; // Uncomment and edit to alter logo height
	return $array;
add_filter( 'wpex_localize_array', 'my_custom_sticky_header_height' );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top