1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the Create Folder Button on the Documents Page

Hide the Create Folder Button on the Documents Page

Introduction

In BuddyBoss, the Documents feature allows users to organize files using folders. However, there is no built in setting to hide the Create Folder button. If you want to prevent users from creating folders and keep the document structure controlled, you can hide the Create Folder button using a simple CSS customization in BuddyBoss.

Custom Workaround

Follow the steps below to hide the Create Folder button on the Documents page.

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
#bb-create-folder.bb-create-folder.button.small {

    display: none;

}
  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: What does this CSS code hide

A: This code hides the Create Folder button only. Existing folders and documents will remain visible and accessible.

Q: Will this prevent users from uploading documents

A: No, users can still upload documents. This change only removes the option to create new folders.

Q: Does this affect administrators

A: Yes, the CSS applies globally, so the Create Folder button will be hidden for all user roles unless additional role based CSS is added.

Q: The button is still visible after adding the code. What should I do

A: Make sure the CSS was added under BuddyBoss Theme Options, clear your site and browser cache, and check for theme or plugin conflicts. If the issue persists, submit a ticket to the support team for assistance.


Screenshots

Without Code:

With 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.