1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the Forum Selection Box When Using the [bbp-topic-form] Shortcode

Hide the Forum Selection Box When Using the [bbp-topic-form] Shortcode

Introduction

By default, the BuddyBoss platform and theme do not provide a built-in option to hide the Forum Selection dropdown when displaying the topic form using the [bbp-topic-form] shortcode. If you want to prevent users from changing the forum selection, you can achieve this using a custom CSS snippet.

Custom Workaround

Follow the steps below to hide the forum selection box:

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
body.single-forum #new-post .bbp_topic_form_forum_wrapper {

    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 do exactly?

A: It hides the forum selection dropdown in the topic form when the form is displayed within a single forum context.

Q: Will this affect existing forum discussions or topics?

A: No, this change only affects the topic creation form. Existing topics and forums are not modified.

Q: Can this be applied when the shortcode is used outside a forum page?

A: This specific selector targets single forum pages. If the shortcode is used elsewhere, additional CSS adjustments may be required.

Q: The forum selection box is still visible. What should I do?

A: Clear your site and browser cache first. If the issue persists, submit a ticket to the BuddyBoss 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.