Skip to content

Instantly share code, notes, and snippets.

@akther80
Last active October 19, 2018 10:15
Show Gist options
  • Save akther80/4b3df8072844041b76c1c5b8d6d30e81 to your computer and use it in GitHub Desktop.
Save akther80/4b3df8072844041b76c1c5b8d6d30e81 to your computer and use it in GitHub Desktop.
Techmarket - Change Handheld Sticky to First Row of Header
add_action( 'init', 'tm_child_change_handheld_sticky_to_first_row' );
function tm_child_change_handheld_sticky_to_first_row() {
remove_action( 'techmarket_handheld_header', 'techmarket_sticky_wrap_start', 37 );
remove_action( 'techmarket_handheld_header', 'techmarket_sticky_wrap_end', 79 );
add_action( 'techmarket_handheld_header', 'techmarket_sticky_wrap_start', 5 );
add_action( 'techmarket_handheld_header', 'techmarket_sticky_wrap_end', 35);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment