Skip to content

Instantly share code, notes, and snippets.

@akther80
Created October 20, 2018 10:09
Show Gist options
  • Save akther80/874d211a2eea7a843c4ee1c0e0b06eeb to your computer and use it in GitHub Desktop.
Save akther80/874d211a2eea7a843c4ee1c0e0b06eeb to your computer and use it in GitHub Desktop.
Techmarket - Make Handheld Sticky to both the row of header
add_action( 'init', 'tm_child_change_handheld_sticky_row' );
function tm_child_change_handheld_sticky_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', 79);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment