BuddyBoss Home – Web Support Forums Themes Boss. theme Disable search in header

Tagged: 

Viewing 12 posts - 1 through 12 (of 12 total)
  • Question

    #53215
    @rentahost

    How can I disable search and remove the field in the header ??

    Answers

    #53278

    Anonymous
    @

    Hi @rentahost, Pls add this css code in your custom css file.

    
    div#header-search.search-form {
        display: none !important;
    }
    

    Regards
    Pallavi

    #53365
    @rentahost

    Hi Pallavi

    thanks for that info. However, it didn't work. It is still there!

    #53450

    Anonymous
    @

    Hi @rentahost, Please remove ‘div' and try:

    
    #header-search.search-form {
        display: none !important;
    }
    

    Regards
    Pallavi

    #53479
    @rentahost

    doesn't work either

    #53497

    Anonymous
    @

    Hi @rentahost, please send a screenshot from where you want to hide the search bar because this code should work.

    Regards
    Pallavi

    #53536
    @rentahost

    Attached are screen shots of the search bar still being displayed and where I copied in the code you gave me.

    #53570
    @vapvarun

    Hi @rentahost, you can use following css

    
    .site-header .search-form {
        display: none !important;;
    }
    

    If it does not work, paste your live site url we will inspect from your website.
    Regards

    #53649
    @rentahost

    still doesn't work!

    http://www.rentahost.co

    #53656
    @vapvarun

    Hi @rentahost, Custom css we have provided it correct
    I have inspected your site and css what we have provided do not displayed there
    you can install https://wordpress.org/plugins/simple-custom-css/
    It will add an option to add css easily

    Add the same css

    
    .site-header .search-form {
        display: none !important;;
    }
    

    It should work
    Regards
    Varun Dubey

    #53730
    @aldona

    Hi, is it possible to hide the search box for logged out users? I don't want that everyone can search in my site. Thanks in advance! (btw, that css code totally works to hide the search box)

    #53735

    Anonymous
    @

    Hi @aldona, Please check this thread
    https://www.buddyboss.com/support-forums/topic/hiding-search-box-andor-results-from-logged-out-users/
    we have already discussed about this topic.

    Regards
    Pallavi

Viewing 12 posts - 1 through 12 (of 12 total)
  • The question ‘Disable search in header’ is closed to new replies.