Sidebar Toggle
Requires LearnDash 3.0+
This module is only available when LearnDash 3.0 or later is installed and active.
Sidebar Toggle
A button that toggles the LearnDash Focus Mode sidebar open and closed. Designed for use in the Focus Mode Header Themer part.
Usage
In the Focus Mode Header Themer part — Place this module in the Header part of a Focus Mode setup. Learners click it to open and close the sidebar containing the Course Navigation Sidebar module.
Link to course — Enable Link to course to wrap the toggle button in a link back to the course overview. Useful when you want the toggle to also serve as a way to exit Focus Mode.
Settings
General
| Setting | Description | Default |
|---|---|---|
| Link to course | Wrap the toggle button in a link to the current course. | Off |
Style
| Setting | Description | Default |
|---|---|---|
| Typography | Font settings for the toggle label. | — |
| Background color | Button background color. | #81d742 |