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.
- Go to BuddyBoss > Theme Options in your WordPress admin dashboard
- Open the Custom Codes section
- Enable CSS
- Add the following CSS code:
@media (max-width: 767px) {
.btn-new-topic {
display: none !important;
}
}- Click Save Changes
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.