1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Disable Header Display Except on Homepage

Disable Header Display Except on Homepage

Introduction

BuddyBoss does not provide a built-in option to hide the header on all pages except the homepage. You can use a simple CSS snippet to hide the header site-wide while keeping it visible on the homepage. The focus keyword for this guide is Disable Header Display.

Custom Workaround

  1. In your WordPress admin, go to BuddyBoss > Theme Options
  2. Under Custom Codes, toggle Enable CSS to On
  3. Paste the following CSS:
body:not(.home) .site-header { 

  display: none; 

}

  1. Click Save Changes

Any custom code is considered “custom work.” Please review our Support Policy for more details.

Troubleshooting and FAQs

Q: The header is still visible on other pages, what should I check?

A: Ensure the CSS was pasted exactly as shown and that Enable CSS is turned on. Clear your site cache, caching plugin, or CDN cache if necessary

Q: Can I show the header on specific pages besides the homepage?

A: Yes. Add additional page-specific CSS selectors or classes similar to .home to target those pages

Q: Will this affect the homepage header?

A: No. The CSS ensures the header remains visible on the homepage

Q: Who can I contact for further assistance?

A: Submit a support ticket through your BuddyBoss account dashboard for personalized help

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.