Introduction
On mobile devices, the New Discussion button is usually only at the bottom of the forum, which can make it less accessible for users. This guide explains how to put the “New Discussion” button at the top of the forum on mobile view, improving usability and making it easier for members to start discussions.
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:
- Click Save Changes.
Please note: This CSS will reverse the position of the discussion list and widget area, placing the “New Discussion” button at the very top of the forum in mobile view.
Troubleshooting and FAQs
Q: The “New Discussion” button is still at the bottom after adding the CSS.
A: Clear your site cache and browser cache, then reload the forum on a mobile device or in your browser’s mobile view.
Q: Will this affect desktop layouts?
A: No. This CSS only applies to screens with a maximum width of 799px.
Q: Can I restore the default button position later?
A: Yes. Remove the CSS code and save your changes.