1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the Course Status in Course Page

Hide the Course Status in Course Page

Introduction

By default, BuddyBoss does not include a built-in option to hide the LearnDash course status on the course page. If you prefer not to display the course status message, such as “Not Enrolled,” you can hide it using a custom CSS snippet.

Custom Workaround

Follow the steps below to hide the course status on the course page:

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled {

    display: none !important;

}
  1. Save changes

Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://buddyboss.com/support-policy/

Troubleshooting and FAQs

Q: Will this hide the course status for enrolled users as well?

A: No. This CSS specifically targets the “Not Enrolled” course status message. Other course status messages will remain visible.

Q: Does this affect all courses on my site?

A: Yes. This will apply to all LearnDash course pages that use the default course status markup.

Q: The course status is still showing after adding the CSS. What should I do?

A: Try clearing your browser cache and any site or plugin caching. If the code is not working, submit a ticket to the support team for assistance.

Q: Can this be limited to a specific course only?

A: Not with this exact snippet. Targeting a specific course would require additional selectors or custom development.

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.