Home Forums WoodMart support forum Customize Sticky Header Reply To: Customize Sticky Header

#378286

Artem Temos
Keymaster

Hello,

Try to use the following code snippet

add_filter( 'woodmart_header_clone_template', function() {
	return '
    <div class="whb-sticky-header whb-clone whb-main-header <%wrapperClasses%>">
        <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">
                        <%.wd-header-main-nav%>
                    </div>
                    <div class="whb-column whb-col-center whb-visible-lg">
                         <%.wd-header-search:not(.wd-header-search-mobile)%>
                    </div>
                    <div class="whb-column whb-col-right whb-visible-lg">
                        <%.wd-header-my-account%>
						<%.wd-header-wishlist%>
                        <%.wd-header-compare%>
                        <%.wd-header-cart%>
                        <%.wd-header-fs-nav%>
                    </div>
                    <%.whb-mobile-left%>
                    <%.whb-mobile-center%>
                    <%.whb-mobile-right%>
                </div>
            </div>
        </div>
    </div>
';
} );

Kind Regards