Home › Forums › WoodMart support forum › Customize Sticky Header › Reply To: Customize Sticky Header
September 20, 2018 at 6:19 am
#78077
Artem Temos
Keymaster
Hello,
Thank you so much for purchasing our theme and contacting our support center.
If you are using sticky header clone so it has a fixed structure of logo, menu, and icons. The only way to customize it is to place the following code to the functions.php in the child theme and edit the code
add_filter( 'woodmart_header_clone_template', function( $template ) {
$template = '
<div class="whb-sticky-header whb-clone whb-main-header">
<div class="<%cloneClass%>">
<div class="container">
<div class="whb-flex-row whb-general-header-inner">
<div class="whb-column whb-col-left whb-visible-lg">
<%.site-logo%>
</div>
<div class="whb-column whb-col-center whb-visible-lg">
<%.main-nav%>
</div>
<div class="whb-column whb-col-right whb-visible-lg">
<%.woodmart-header-links%>
<%.search-button%>
<%.whb-wishlist-icon%>
<%.woodmart-shopping-cart%>
<%.full-screen-burger-icon%>
</div>
<%.whb-mobile-left%>
<%.whb-mobile-center%>
<%.whb-mobile-right%>
</div>
</div>
</div>
</div>
';
return $template;
} );
Kind Regards
XTemos Studio