Last active
October 19, 2018 10:15
-
-
Save akther80/4b3df8072844041b76c1c5b8d6d30e81 to your computer and use it in GitHub Desktop.
Techmarket - Change Handheld Sticky to First Row of Header
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_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