1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the Forum and Groups Tabs on the Profile Page

Hide the Forum and Groups Tabs on the Profile Page

Introduction

By default, BuddyBoss does not provide an option to hide the Forum and Groups tabs on a user’s profile page. You can use a simple CSS snippet to hide these tabs from view.

Custom Workaround

Follow these steps:

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
body.bbp-user-page li#groups-personal-li,

body.bbp-user-page li#forums-personal-li {

    display: none !important;

}
  1. Save changes

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

Troubleshooting and FAQs

Q: Will hiding these tabs remove content from the profile?

A: No, this only hides the tabs visually. All content remains accessible via direct URLs.

Q: Can I hide these tabs only for logged-out users?

A: Yes, by adding body:not(.logged-in) before the selectors in the CSS.

Q: The tabs are still visible after adding the code. What should I do?

A: Clear your browser cache and any caching plugins. If the issue persists, submit a ticket to the support team for assistance.

Q: Can I hide additional tabs using the same method?

A: Yes, just add the corresponding li#tab-id selectors separated by commas in the CSS.

Screenshot using the 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 for validation purposes and should be left unchanged.
This field is hidden when viewing the form

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