1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. How to Prevent GIFs from Being Posted in Comments

How to Prevent GIFs from Being Posted in Comments

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.

  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:
li.blogs .activity-comments .post-elements-buttons-item.post-gif {

    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 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.

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.