Introduction
By default, BuddyBoss does not provide an option to hide the Photos tab on a user’s profile page for logged-out users. Using a simple CSS snippet, you can prevent non-logged-in visitors from seeing the Photos tab, helping you control content visibility and improve privacy.
Custom Workaround
Follow the steps below to hide the Photos tab for logged-out users:
- Go to BuddyBoss > Theme Options
- Under Custom Codes, enable CSS
- Append the following:
body:not(.logged-in) li#media-personal-li.bp-personal-tab { display: none; }- Save changes.
Troubleshooting and FAQs
Q: Will this remove photos from the site entirely?
A: No. This only hides the Photos tab from the profile navigation for logged-out users. The photos themselves are not deleted.
Q: Logged-in users can still see the Photos tab, correct?
A: Yes. This CSS specifically targets logged-out users only.
Q: The Photos tab is still visible after adding the CSS. What should I do?
A: Clear your site cache and browser cache. If the issue persists, submit a ticket to the support team for assistance.
Q: Will this affect mobile views?
A: No. The snippet works across all screen sizes unless overridden by other custom CSS.
Q: Can this be limited to specific user profiles?
A: Not with this snippet alone. More advanced customization would require additional custom development.
Screenshots
Without Code:

With Code:
