Created
October 20, 2018 10:09
-
-
Save akther80/874d211a2eea7a843c4ee1c0e0b06eeb to your computer and use it in GitHub Desktop.
Techmarket - Make Handheld Sticky to both the 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_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