Introduction
By default, BuddyBoss does not provide an option to hide the LearnDash course navigation (Next and Previous lesson links). Using a simple CSS snippet, you can remove the course navigation links from LearnDash lessons to create a cleaner and more focused learning experience.
Custom Workaround
Follow the steps below to hide the LearnDash course navigation:
- Go to BuddyBoss > Theme Options
- Under Custom Codes, enable CSS
- Append the following:
.bb-lms-header .learndash_next_prev_link {
display: none !important;
}- Save changes.
Troubleshooting and FAQs
Q: What does this CSS hide exactly?
A: It hides the Next and Previous lesson navigation links displayed in the LearnDash course header.
Q: Will this affect course progress or lesson completion?
A: No. This only removes the navigation links. Course progress tracking and completion logic remain unchanged.
Q: Does this apply to all courses and lessons?
A: Yes. This CSS applies globally to all LearnDash lessons using the BuddyBoss theme layout.
Q: The navigation is still visible after adding the CSS. What should I do?
A: Clear your site cache and browser cache. If it still appears, submit a ticket to the support team for assistance.
Q: Will this work on mobile devices as well?
A: Yes. The CSS applies to all screen sizes unless additional media queries are added.