By default, the platform does not have this option. You can use the following CSS code.


Please follow the steps below:


1. Go to BuddyBoss > Theme Options

2. Under Custom Codes, enable CSS

3. Append the following:



body:not(.logged-in) ul#primary-menu li:nth-child(6),body:not(.logged-in) a.header-search-link {    display: none !important;}
 


body:not(.logged-in) form.search-form {

    display: none !important;

}


/*add codes here*/


4. Save changes.


Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/

Screenshots


Without code


With code