Skip to content

Reading Experience

The addon adds two features that help learners focus while they work through a course: Distraction Free Reading and Dark Mode.

This is an enhancement of LearnDash’s focus mode. When enabled, the lesson and topic view is stripped down so the learner concentrates on the content.

You control it from the LearnDash settings tab:

  • Distraction Free Layout - Enable or Disable the feature.
  • Close Action - what happens when the learner exits the distraction free view. Choose Return To Default View or return to the course page.
  • Dashboard Title Text - the label used for the link back to the dashboard or course from inside the distraction free view.

When the view is active, the page carries a body class so styling and behavior can respond to it.

Dark Mode gives LearnDash pages a dark color scheme. Logged-in users toggle it from the focus mode header. The choice is remembered per browser using a cookie (bxtheme), and while it is on, the page body carries the reign-ld-dark-theme class so the addon’s dark stylesheet applies.

Dark Mode is a per-visitor, front-end preference: it does not change your site’s stored settings and it applies to the LearnDash pages the addon styles. On Reign 8.0.0 it aligns with the theme’s token-based color system (light, dark, and auto modes).

  • Dark Mode’s toggle appears within focus mode for logged-in users; it is not a site-wide switch for anonymous visitors.
  • Because the preference lives in a browser cookie, clearing site data or switching browsers resets it. This is expected behavior, not a bug.