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:
- Go to BuddyBoss > Theme Options
- Under Custom Codes, enable CSS
- Append the following code:
body.single-forum #new-post .bbp_topic_form_forum_wrapper {
display: none;
}- Save changes.
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