1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide or Display Activity in Separate Tabs Based on Activity Type

Hide or Display Activity in Separate Tabs Based on Activity Type

Introduction

By default, BuddyBoss does not provide a built-in option to control the visibility of Activity tabs based on activity type. Using a simple CSS snippet, you can hide or display specific Activity tabs to better organize or limit what users see in the Activity feed.

Custom Workaround

Follow the steps below to hide Activity tabs based on activity type:

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

#activity-groups,

#activity-mentions,

#activity-following,

#activity-favorites {

    display: none;

}
  1. Save changes.

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

Troubleshooting and FAQs

Q: What Activity tabs does this CSS hide?

A: This snippet hides the All Activity, Groups, Mentions, Following, and Favorites tabs.

Q: Will this remove the actual activity content?

A: No. This only hides the navigation tabs. The activity content itself is not deleted.

Q: Can I hide only one specific Activity tab?

A: Yes. Remove the other selectors and keep only the tab ID you want to hide, such as #activity-mentions.

Q: Does this apply to logged-in and logged-out users?

A: Yes. This CSS applies to all users regardless of login status.

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

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

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.