1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the BuddyPanel on Certain Pages

Hide the BuddyPanel on Certain Pages

Introduction

By default, BuddyBoss displays the BuddyPanel on all pages, and there’s no built-in option to selectively hide it. You can hide the BuddyPanel on specific pages using a custom CSS snippet. This is useful if you want a cleaner layout on landing pages, registration pages, or any page where the BuddyPanel isn’t needed.

Custom Workaround

Follow the steps below to hide the BuddyPanel on specific pages:

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code (replace page-id-4798 with your target page ID):
.page-id-4798 .buddypanel { display: none; } 

.page-id-4798.bb-buddypanel:not(.register) .site, 

.page-id-4798.bb-buddypanel:not(.activate) .site { margin: 0; } 

.page-id-4798.bb-buddypanel.sticky-header:not(.bb-sfwd-aside) .site-header { width: 100%; }
  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: Will this hide the BuddyPanel on all pages?

A: No. This snippet only hides the BuddyPanel on pages with the specific page ID you target.

Q: Can I hide the BuddyPanel on multiple pages at once?

A: Yes. You can duplicate the CSS line for each page ID. Example:

.page-id-4798 .buddypanel, .page-id-123 .buddypanel { display: none; }

Q: The BuddyPanel is still visible, what should I do?

A: Clear your site and browser cache. Ensure the correct page ID is used. If the code is not working, submit a ticket to the support team for assistance.

Q: Will this affect the layout of the page?
A: The additional CSS in the snippet adjusts margins and header width to prevent layout issues.

How to find your page ID

1. On your WordPress dashboard, click on Pages > All Pages

2. Select the page that you need to find the ID for. For this instance, I have chosen About page. 

3. Once the page is opened, you need to look at the URL in your web browser’s address bar. Here, you will find the page ID number displayed within the page URL.

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.