Homepage LearnDash Community Forums General (free) Remove Next/Previous Navigation in Divi

  • Remove Next/Previous Navigation in Divi

    Posted by Anneke de Waal on Jun 23, 2025 at 10:09 am

    Please help me to remove the next and previous buttons for the lessons and quizzes. In the image, I mean the lower left button and the lower right button. If possible only for a specific training. I’ve looked everywhere and tried a lot of css, but it didn’t work out. I would like to keep the ‘return to training’ in the middle or the ‘return to module’ when in a lesson. Thank you! I work in Divi theme.

    Jhonn Mick replied 3 months, 1 week ago 3 Members · 2 Replies
  • 2 Replies
  • Julia Canzani

    Administrator
    Jun 27, 2025 at 5:05 am

    Hi @anneke! Could you give this a try? You’ll need to update the part “1234” to match the course ID for the training you’re trying to target. You can generally find this ID by checking the permalink when editing the course in the back-end (here’s a link to LearnDash’s documentation on the subject).

    .learndash-cpt-sfwd-courses-1234-parent .ld-content-actions > div:is(.ld-content-action:first-child, .ld-content-action:last-child) {

    display: none;

    }

    .learndash-cpt-sfwd-courses-1234-parent .ld-content-actions {

    justify-content: center !important;

    }


  • Jhonn Mick

    Member
    Jul 4, 2025 at 5:56 pm

    To remove the “Next” and “Previous” buttons in Divi for a specific LearnDash course while keeping the center “Return to Training” or “Return to Module” button, use the following CSS and replace 1234 with your course ID:

    .learndash-cpt-sfwd-courses-1234-parent .ld-content-actions > div:is(.ld-content-action:first-child, .ld-content-action:last-child) {

    display: none;

    }

    .learndash-cpt-sfwd-courses-1234-parent .ld-content-actions {

    justify-content: center !important;

    }

    You can find the course ID by editing the course in the backend and checking the number in the URL. This will hide the side buttons only for that course and keep the center button aligned.

    • This reply was modified 3 months, 1 week ago by  Jhonn Mick.

Forum Rules

Forum Rules

Be Kind & Patient

We’re here to learn and/or help each other. Please don’t be mean, rude, or condescending. Treat all members the way you should be treating dogs and your elders—with the utmost love & respect.

External Links

✅ Other websites that add value, help solve problems & contribute to the discussion. ❌ Affiliate links are prohibited. (Site owners may use affiliate links to help support the site.)

Promotion

✅ You may promote your own products/services if they are relevant to an existing discussion. You must disclose your relationship with the product(s).
❌ You may not create new posts simply to promote your products.

Non-LearnDash Topics

❌ General (free) Forum: Only LearnDash-specific topics are allowed.
✅ Premium Forums: You are allowed to post other questions tangentially related to LearnDash. Please use the appropriately named forum. If it doesn’t exist, use the “LearnDash Integrations” forum.

Our Right to Remove

We reserve the right to remove any content, at any time, for any reason. We can also merge one post with another. We will exercise caution when removing content and always try to provide an explanation.