LearnDash customization works on four levels: built-in settings, CSS in a child theme, hooks in a child theme or small plugin, and template overrides copied into your theme’s learndash folder. Start at the lowest level that does the job, because every step up adds work after each LearnDash update. Below I show what each level can change, a safe hooks example, how template overrides work, and the rules I follow so customizations survive updates.
Most LearnDash customization requests I get don’t need heavy development. They need a course page that matches the brand, a clearer lesson layout, a small message in the right place, or something to happen when a student finishes a course. All of that is possible without touching LearnDash’s own files.
The trouble starts when LearnDash customization is done in the wrong place: CSS pasted into plugin files, a whole folder of templates copied “just in case”, or snippets added to a parent theme that the next theme update wipes out. This guide is the order I work in, from the safest change to the riskiest, with references to LearnDash’s own developer documentation.
If you’re still deciding whether LearnDash is the right LMS, start with my LearnDash review. This post assumes you’ve already chosen it and want it to look and behave your way.
Table of Contents
What can you change with LearnDash customization?
Almost everything a student sees can be changed. The real question is which tool to use for each change. I think of LearnDash customization as four levels:

| Level | What it changes | Survives updates? | Skill needed |
|---|---|---|---|
| 1. Settings | Colors, Focus Mode, course page style, login | Yes | None |
| 2. CSS | Spacing, fonts, buttons, layout details | Usually, if classes stay the same | Basic CSS |
| 3. Hooks | Add content, change data, react to events | Usually, if the hook stays | PHP |
| 4. Template overrides | Change the HTML of a LearnDash template | Needs checking after updates | PHP and care |
The rule of LearnDash customization is simple: never jump to level 4 for a level 1 or 2 problem. I regularly see full template overrides that exist only to change a button color. That’s a maintenance cost with no benefit.
Level 1: start with the built-in settings
A surprising amount of LearnDash customization needs no code. The LearnDash General Settings documentation lists these options, all under LearnDash > Settings > General:
- Active Template: choose LearnDash 3.0 (the default on new installs) or Legacy. LearnDash says support for the Legacy template ended on June 15, 2025, so new work should target LearnDash 3.0.
- Colors: an accent color for buttons and links, a progress color, and a notifications color.
- Focus Mode: a distraction-free lesson layout, with content width options from 768px to full width and a left or right sidebar.
- Presenter Mode: an optional Focus Mode setting for live teaching and screen sharing.
- Login and Registration: LearnDash’s own login and registration experience, plus a logo upload.
- Modern Course Page Style: an updated course page layout. LearnDash marks it beta but stable for production, enabled by default on new installations from version 4.20.5.
Set these first and look at the result on a phone before writing any CSS. On many sites, colors plus Focus Mode cover most of what the client asked for. One warning from the same documentation: if your theme holds custom Legacy template files, switching to LearnDash 3.0 may stop those customizations from appearing.
Set up a child theme or a small plugin first
Before any code-based LearnDash customization, decide where the code will live. Never edit LearnDash’s plugin files, and never edit your parent theme directly. Both get replaced on update.
- A child theme is the right home for CSS and template overrides, because LearnDash looks for overrides in your active theme. WordPress explains the setup in its child themes handbook.
- A small site-specific plugin is the right home for hooks that change behavior, such as emails on course completion. Behavior then survives a theme change. My guide on how to build a WordPress plugin covers the basic file structure.
Put both under version control, even if it’s only a private Git repository. When something breaks after an update, being able to see exactly what you changed, and when, saves hours.
Level 2: LearnDash customization with CSS
CSS handles most visual LearnDash customization: spacing, typography, button shapes, the course content list, and how things stack on mobile. Add it to your child theme’s stylesheet, or the Customizer’s Additional CSS for small amounts.
Scope your rules so they only touch LearnDash output. LearnDash 3.0 wraps most of its markup in a container with the learndash-wrapper class, which makes a good prefix. Inspect your own pages in the browser first, because class names can differ between versions and templates.
/* Child theme style.css: LearnDash tweaks, scoped to LearnDash output */
.learndash-wrapper {
font-size: 17px;
line-height: 1.6;
}
/* Larger tap targets on phones */
@media (max-width: 640px) {
.learndash-wrapper a,
.learndash-wrapper button {
min-height: 44px;
}
}
Two habits keep CSS-based LearnDash customization stable. First, avoid long selectors copied from browser dev tools, since a small markup change breaks them. Second, check the course page, a lesson, a topic, a quiz and Focus Mode after every change. A rule that looks fine on the course page can break the lesson sidebar.
Level 3: how to use LearnDash hooks
Hooks are the most underused LearnDash customization tool. They let you add or change things without copying templates. LearnDash publishes its actions and filters on the LearnDash developer docs, and they work like any other WordPress hook: actions let you do something at a point, filters let you change a value before LearnDash uses it.
A few hooks I find useful, all documented by LearnDash:
| Hook | Type | What it gives you |
|---|---|---|
learndash-course-before | Action | Runs before the course content in the LearnDash 3.0 course template. Passes post ID, course ID and user ID. |
learndash_course_completed | Action | Fires after a course is marked complete. Passes an array of course completion data. |
learndash_lesson_completed | Action | Fires after a lesson is marked complete. |
learndash_template | Filter | Changes the file path of the LearnDash template being loaded. |
A safe LearnDash hooks example
This small plugin does two common jobs. It shows a note above the course content for visitors who aren’t logged in, using learndash-course-before, and it emails the site admin when someone completes a course, using learndash_course_completed. LearnDash’s own example for that hook reads the user and course from the array it passes, so this code does the same and checks both exist first.
<?php
/**
* Plugin Name: My LearnDash Tweaks
* Description: Small, update-safe LearnDash customizations.
*/
defined( 'ABSPATH' ) || exit;
// 1. Note above the course content for logged-out visitors.
add_action( 'learndash-course-before', function ( $post_id, $course_id, $user_id ) {
if ( $user_id ) {
return;
}
echo '<p class="my-ld-note">'
. esc_html__( 'Log in to save your progress.', 'my-ld-tweaks' )
. '</p>';
}, 10, 3 );
// 2. Email the site admin when a student completes a course.
add_action( 'learndash_course_completed', function ( $data ) {
if ( empty( $data['user'] ) || empty( $data['course'] ) ) {
return;
}
$user = $data['user'];
$course = $data['course'];
wp_mail(
get_option( 'admin_email' ),
sprintf( 'Course completed: %s', $course->post_title ),
sprintf( '%s completed "%s".', $user->user_email, $course->post_title )
);
} );
Save it as a single PHP file in wp-content/plugins/my-ld-tweaks/, activate it on a staging site, and test with a real student account. LearnDash notes that its extended examples aren’t guaranteed, so treat any snippet, including this one, as a starting point to test, not something to paste onto a live site.
This is where LearnDash customization becomes useful beyond design. The same completion hook can tag the student in your CRM, issue a coupon, or notify a team lead. Keep each job in its own small, named function so it’s easy to switch off when something misbehaves.
Level 4: LearnDash custom templates (overrides)
When a LearnDash customization needs to change the HTML structure itself, such as moving the progress bar or rewriting the course status box, you need a template override. LearnDash’s get_template method checks whether your current theme has a learndash directory and uses a matching template from there if it exists.
For the LearnDash 3.0 template, the original files live in the plugin’s themes/ld30/templates/ folder, and the override goes in your child theme’s learndash/ld30/ folder, without the templates part:
| Original file (in the plugin) | Override (in your child theme) |
|---|---|
sfwd-lms/themes/ld30/templates/lesson.php | your-child-theme/learndash/ld30/lesson.php |
sfwd-lms/themes/ld30/templates/course.php | your-child-theme/learndash/ld30/course.php |
sfwd-lms/themes/ld30/templates/module/tabs.php | your-child-theme/learndash/ld30/module/tabs.php |

My rules for LearnDash custom templates
- Copy only the file you change. Never copy the whole templates folder. Every copied file stops receiving LearnDash’s fixes.
- Add a comment at the top with the LearnDash version you copied from and what you changed, so you can compare after updates.
- Change as little as possible. If a hook exists inside the template, use the hook and skip the override.
- Re-check after every LearnDash update. Compare your copy with the new original and bring across any changes.
- Test with the course page style you actually use. If you switch on the Modern Course Page Style later, check that your course page overrides still appear as expected.
For conditional cases, such as a different lesson layout for one course only, the learndash_template filter lets you return a different file path based on the template name. It’s more precise than an override, but it’s code you now maintain, so document it well.
LearnDash customization for course grids, quizzes and page builders
Course grid
Course Grid, part of LearnDash core since version 4.21.4 (it used to be a separate add-on), has its own templating system. According to LearnDash’s Course Grid templating documentation, you can add a custom skin in your theme under learndash/course-grid/skins/your-skin-slug/ with a required layout.php and optional style.css and script.js, then register it with the learndash_course_grid_skins filter. Custom cards work the same way under learndash/course-grid/cards/.
Quizzes
Quiz appearance is mostly a CSS job, but quiz behavior (question types, passing scores, retakes, timers) belongs in the quiz settings, not in code. I covered those settings in my LearnDash quiz guide, so check there before you try to change quiz behavior with custom code.
Page builders
LearnDash’s page builder guide explains that a page builder controls the content you add in the editor, while LearnDash adds dynamic content (course status, price, content lists) on its own. It recommends Elementor Pro for full integration and notes free builder versions have limits. In practice, I use a builder for the course sales page and let LearnDash’s templates handle lessons, because builder-heavy lesson pages are slower for logged-in students.
Which LearnDash customization method should you use?
When a LearnDash customization request comes in, this is the decision table I use:
| You want to… | Use | Why |
|---|---|---|
| Match brand colors | Settings | No code, survives every update |
| Change fonts, spacing, button shapes | CSS in child theme | Small, easy to undo |
| Add a message or block to a course page | Hook (learndash-course-before) | No template copy needed |
| Do something when a course is finished | Hook (learndash_course_completed) | Works whatever the theme |
| Move or remove parts of a template | Template override | Only way to change the HTML |
| Different layout for one course | learndash_template filter | Targeted, no global change |
| Custom course catalog design | Course Grid skin or card | Built for it |
| Change quiz rules | Quiz settings | Not a code problem |
How do you keep LearnDash customizations update-safe?
LearnDash updates regularly, and a valid license is needed to receive them. Updates are where custom work breaks, so build the process in from the start:
- Use a staging site. LearnDash’s own troubleshooting basics recommend testing on staging before live, and that’s doubly true with custom code.
- Keep a short changelog of every LearnDash customization: file or hook, purpose, date.
- After each update, click through a course, a lesson, a topic, a quiz, Focus Mode and the student profile while logged in as a student, not as an admin. LearnDash has an admin setting to bypass course limits, which can hide access problems.
- Clear caches before deciding something is broken. LearnDash’s troubleshooting guide lists caching as a common cause of design issues.
My general process for updates is in my guide on how to update WordPress safely. Course sites deserve extra care, because a broken lesson page stops paying students.
How much does LearnDash customization cost?
It depends on the level, not the number of requests. Settings and CSS work is usually a few hours. Hooks for one or two behaviors, such as a completion email or a CRM tag, take a little longer because they need testing with real student accounts. Template overrides cost the most over time, because every override needs checking after LearnDash updates.
When I quote LearnDash customization, I list each change with its level next to it. That makes the ongoing cost visible: a client can see that ten CSS tweaks add almost no upkeep, while three template overrides add a check after every update. Sometimes that list alone convinces a client to drop an override and accept a hook-based alternative.
If someone quotes a large LearnDash customization project without saying where the code will live or how it survives updates, ask. A cheap build that breaks at the next update is the expensive option.
Who shouldn’t do heavy LearnDash customization
Some projects shouldn’t customize LearnDash much at all:
- New course creators testing an idea. Use settings and a well-built theme. Spend the budget on the course content until you know it sells.
- Sites with nobody to maintain code. Every override and hook needs checking after updates. If no developer will do that, keep to settings and CSS.
- Projects fighting the LMS. If your list of changes rewrites most of LearnDash’s templates, a different LMS may fit better. My comparison of LearnDash alternatives can help you check before you invest.
For everyone else, a modest amount of well-placed LearnDash customization is normal and worth it. A course site that looks like the brand and sends the right emails at the right time feels far more professional than the defaults.
Frequently asked questions
Can I customize LearnDash without code?
Yes, to a point. LearnDash settings cover colors, Focus Mode width and sidebar, Presenter Mode, login and registration, a logo, and the Modern Course Page Style. Many sites only need these plus a little CSS.
Where do LearnDash template overrides go?
In your theme’s learndash folder. For the LearnDash 3.0 template, a file from sfwd-lms/themes/ld30/templates/ goes into your-child-theme/learndash/ld30/ with the same file name, leaving out the templates part of the path.
Will LearnDash updates remove my customizations?
Settings, child theme CSS and hooks in a separate plugin survive updates. Template overrides survive too, but they stop receiving LearnDash’s changes to that file, so compare them with the new originals after each update.
What are the most useful LearnDash hooks?
For most sites: learndash-course-before to add content to a course page, learndash_course_completed and learndash_lesson_completed to react to progress, and the learndash_template filter to swap a template file in specific cases.
Should I put LearnDash code in functions.php?
CSS and template overrides belong in a child theme. Behavior such as completion emails is better in a small site-specific plugin, so it keeps working if you change themes.
Can I customize the LearnDash course grid?
Yes. Course Grid 2.0 supports custom skins and cards stored in your theme’s learndash/course-grid folder, with skins registered through the learndash_course_grid_skins filter.
Need help customizing your LearnDash site?
I build and customize LearnDash course sites with update-safe code: child theme styling, small plugins for hooks, and template overrides only where they’re needed. See my WooCommerce and LMS development service, where LMS course sites start at $599 and smaller fixes are $15 an hour, or tell me what you want your course site to do.
