Introduction
BuddyBoss allows users to post GIFs in comments by default. You can prevent GIFs from being added to comments by adding a small CSS snippet to your active theme. This guide explains how to prevent GIFs from being posted in comments.
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:
li.blogs .activity-comments .post-elements-buttons-item.post-gif {
display: none !important;
}- Click Save Changes
Troubleshooting and FAQs
Q: The GIF button is still visible.
A: Clear your browser and site cache, then refresh the page.
Q: Will this remove GIFs from all areas of the site?
A: No. This CSS only targets GIF posting in the comments section.
Q: Can I revert this change later?
A: Yes. Remove the CSS snippet and save your changes to restore the GIF button.