Introduction
By default, BuddyBoss does not provide a built-in option to hide the Members tab in groups for logged-out users. Using a small CSS snippet, you can prevent non-logged-in visitors from seeing the Members tab while keeping it visible for logged-in members.
Custom Workaround
Follow the steps below to hide the Members tab for logged-out users:
- Go to BuddyBoss > Theme Options
- Under Custom Codes, enable CSS
- Append the following code:
body:not(.logged-in) #members-groups-li.bp-groups-tab {
display: none;
}- Save changes.
Troubleshooting and FAQs
Q: Will this remove the Members tab for logged-in users as well?
A: No. The tab is hidden only for logged-out users. Logged-in members will still see it.
Q: The Members tab is still visible after adding the CSS. What should I do?
A: Clear your site cache and browser cache. Also check if another custom CSS snippet is overriding this rule.
Q: Does this affect mobile and desktop views?
A: Yes. This CSS applies to all screen sizes.
Q: Can this be reverted easily?
A: Yes. Simply remove the CSS snippet and save changes.
Screenshots
Without Code:

With Code:
