1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide Deleted Message Display on Private Messaging

Hide Deleted Message Display on Private Messaging

Introduction

BuddyBoss does not provide a built-in option to hide deleted messages in private messaging. If you want to completely remove deleted message indicators from the conversation view in BuddyBoss, you can apply a simple CSS snippet to hide them from the interface.

Custom Workaround

  1. In your WordPress admin, go to BuddyBoss > Theme Options
  2. Under Custom Codes, toggle Enable CSS to On
  3. Paste the following CSS:
.bp-single-message-wrap:has(.deleted-message) {

    display: none !important;

}
  1. Click Save Changes

Note: Any custom code is considered custom work. Please review our Support Policy for more details.

Troubleshooting and FAQs

Q: The deleted message text is still visible. What should I check

A: Clear your site cache, any caching plugin, and CDN cache. Also make sure the CSS was pasted exactly as shown and that Enable CSS is turned on before saving.

Q: Will this remove deleted messages for all users

A: Yes. This CSS hides deleted message containers globally for all users viewing private messages.

Q: Does this affect normal messages

A: No. Only messages marked as deleted using the .deleted-message class are hidden.

Q: Is this safe to use with future BuddyBoss updates

A: While generally safe, custom CSS may require adjustment if BuddyBoss updates change the message markup.

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.