1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Hide the Course Content Section in LearnDash

Hide the Course Content Section in LearnDash

Introduction

In BuddyBoss with LearnDash, the Course Content section displays the list of lessons by default. If you want a cleaner course layout or prefer to control lesson access elsewhere, you can hide the Course Content section in LearnDash using a simple CSS workaround.

Custom Workaround

Follow the steps below to hide the Course Content section on LearnDash course pages.

  1. Go to BuddyBoss > Theme Options
  2. Under Custom Codes, enable CSS
  3. Append the following code:
div.ld-item-list.ld-lesson-list {

    display: none;

}
  1. Save changes

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

Troubleshooting and FAQs

Q: What does this code hide on the course page

A: This code hides the entire Course Content section, including the list of lessons displayed on the LearnDash course page.

Q: Will this affect lesson access or completion tracking

A: No, this only hides the visual section. Lessons and progress tracking will continue to function normally.

Q: Does this apply to all courses

A: Yes, the CSS applies globally to all LearnDash courses that use the standard Course Content layout.

Q: The Course Content section is still visible. What should I do

A: Make sure the CSS was added under BuddyBoss Theme Options and that caching is cleared. If the issue persists, submit a ticket to the BuddyBoss support team for assistance.


Screenshots

With Code:

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 hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.