Home Forums WoodMart support forum HIDE SEARCH FORM ON MOBILE SIDEBAR

HIDE SEARCH FORM ON MOBILE SIDEBAR

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #108490

    Jeriss Cloud Center
    Participant

    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

    #108594

    newsprince
    Participant

    @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'});
    
    }
      
      });
    #108623

    Hello,

    Enter the Header Builder, switch to the mobile view, open Mobile menu element and disable http://prntscr.com/mnlwju

    Best Regards

    #108673

    Jeriss Cloud Center
    Participant

    THanks, point closed

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘HIDE SEARCH FORM ON MOBILE SIDEBAR’ is closed to new replies.