1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. How to Hide the “New Discussion” Button in Standalone Forums on Mobile View

How to Hide the “New Discussion” Button in Standalone Forums on Mobile View

Introduction

BuddyBoss displays the New Discussion button in standalone forums by default, even on mobile devices. You can hide this button using a small CSS snippet to create a cleaner mobile forum interface. This guide explains how to hide the “New Discussion” button in standalone forums on mobile view.

Custom Workaround

Before proceeding, make sure you have a complete site backup.

  1. Go to BuddyBoss > Theme Options in your WordPress admin dashboard
  2. Open the Custom Codes section
  3. Enable CSS
  4. Add the following CSS code:
@media (max-width: 767px) {

  .btn-new-topic {

    display: none !important;

  }

}
  1. Click Save Changes

Note: Modifications are typically considered custom work, but we are making an exception in this case. Please review the BuddyBoss Support Policy.

Troubleshooting and FAQs

Q: The button is still visible on my mobile device.
A: Clear your browser and site cache, then refresh the page.

Q: Will this hide the button on desktop?
A: No. This CSS targets devices with a maximum width of 767px (mobile only).

Q: Can I restore the button later?
A: Yes. Remove the CSS snippet and save your changes to bring back the button.

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.