-
-
Save ibndawood/d53a30a8fc9018a7c7c0d7061f4d276c to your computer and use it in GitHub Desktop.
Shoesmarket Custom header changes
This file contains 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
function tm_header_v8_search() { | |
?> | |
<div class="dropdown shoesmarket-search search"> | |
<button class="btn btn-block" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-search" aria-hidden="true"></i></button> | |
<div class="dropdown-menu search-dropdown fadeIn animated"> | |
<?php techmarket_navbar_search(); ?> | |
</div> | |
</div> | |
<?php | |
} | |
add_action( 'techmarket_header_v8', 'tm_header_v8_search', 25 ); |
This file contains 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
.header-v8.site-header .sticky-wrapper .techmarket-sticky-wrap.stuck { | |
padding-left: 0; | |
padding-right: 0; | |
} | |
.shoesmarket-search { | |
position: static; | |
} | |
.shoesmarket-search > button{ | |
background: transparent; | |
font-size: 20px; | |
} | |
.shoesmarket-search > button:hover { | |
color: #43454b; | |
} | |
.shoesmarket-search .animated { | |
-webkit-animation-duration: .3s; | |
animation-duration: .3s; | |
} | |
.shoesmarket-search .search-dropdown { | |
right: 0; | |
left: 0; | |
border: none; | |
z-index: -100000; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment