1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the Author Name and Published Date from the Blog Directory

Hide the Author Name and Published Date from the Blog Directory

Introduction

By default, BuddyBoss does not provide a built-in option to hide the author name and published date from the blog directory. However, you can achieve this using a simple CSS workaround to remove the author avatar and related metadata from the blog listing layout.

Custom Workaround

Follow the steps below to hide the author name and published date from the blog directory:

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
.bb-user-avatar-wrap {

    display: none !important;

}
  1. Save changes.

Note : Any modifications made using custom CSS are considered custom work. Learn more about our Support policy here:
https://buddyboss.com/support-policy/

Troubleshooting and FAQs

Q: What exactly does this CSS hide?

A: This hides the author avatar container, which also removes the visible author name and published date from the blog directory layout.

Q: Will this affect single blog posts?

A: No. This CSS only affects the blog directory or listing pages, not individual blog post pages.

Q: The author name or date is still visible. What should I do?

A: Clear your site cache and browser cache. Also check if your theme or child theme is using additional custom CSS that overrides this rule.

Q: Does this apply to both desktop and mobile views?

A: Yes. The CSS applies across all screen sizes unless overridden by another media query.

Q: The code is not working on my site. What’s next?

A: If the code is not working, submit a ticket to the support team for further assistance.

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.