HIDE SEARCH FORM ON MOBILE SIDEBAR
-
Dear,
I have enabled the new feature of search bar in header. It means I don’t need the search in the mobile sidebar, how to remove it?
Thanks
@gevcen
Add the following code to your Woodmart > Customs JS.
What this code does is checking if the mobile search form is visible and if it is it hides the search form in sidebar.
jQuery(document).ready(function( $ ){
if( $('.woodmart-mobile-search-form').is(":visible")) {
$('.mobile-nav .searchform').css({'display':'none'});
}
});
Hello,
Enter the Header Builder, switch to the mobile view, open Mobile menu element and disable http://prntscr.com/mnlwju
Best Regards
The topic ‘HIDE SEARCH FORM ON MOBILE SIDEBAR’ is closed to new replies.