1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the Search Feed for Logged Out Users

Hide the Search Feed for Logged Out Users

Introduction

By default, BuddyBoss displays the Search Feed option in the Activity Feed for all visitors, including logged out users. At this time, there is no built in setting to conditionally hide this feature based on login status. If you want to simplify the interface for logged out visitors, you can hide the Search Feed button using a custom CSS workaround.

Custom Workaround

Follow the steps below to hide the Search Feed option for logged out users only.

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:

body:not(.logged-in) button.subnav-filters-opener {

    display: none !important;

}
  1. Save changes

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

Troubleshooting and FAQs

Q: What does this CSS code do

A: This code hides the Search Feed button specifically for users who are not logged in, while keeping it visible for logged in members.

Q: Will this disable feed filtering completely for logged out users

A: No. This only hides the Search Feed button from the interface. It does not change or remove any underlying functionality.

Q: Does this affect logged in users

A: No. Logged in users will continue to see and use the Search Feed option as normal.

Q: The Search Feed button is still visible for logged out users. What should I do

A: Clear your site cache and browser cache, then confirm the CSS was added correctly under BuddyBoss Theme Options. If the issue persists, submit a ticket to the support team for assistance.


Screenshots

Without Code:

With Code:

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.