fbpx

Course About

Tutor LMS – About Course Element

Overview

The About Course element in Tutor LMS displays the course excerpt content (short description) along with a “Show More” and “Show Less” button. This feature enhances user experience by allowing learners to expand or collapse the course details.

Features

  • Displays the course excerpt (short description).
  • Includes a “Show More” / “Show Less” button for toggling content.
  • Allows setting a character limit before truncation.
  • Provides various style customization options.

Available Controls

Content Controls

  1. Excerpt Length – Set the maximum number of characters to display before truncation.
  2. Show More Button Text – Customize the text for the “Show More” button.
  3. Show Less Button Text – Customize the text for the “Show Less” button.
  4. Button Position – Choose where to place the “Show More” button (Below text, Inline).
  5. Enable Animation – Add a smooth transition effect when expanding/collapsing content.

Style Controls

  1. Text Color – Customize the color of the course description text.
  2. Typography – Adjust font size, weight, and style for the description.
  3. Button Style – Customize the color, background, border, and padding of the “Show More” button.
  4. Spacing – Adjust spacing between elements for better layout.

Dynamic Behavior

  • The About Course element automatically fetches the excerpt of the current course.
  • If the excerpt exceeds the set limit, the extra text is hidden with a “Show More” button.
  • Clicking “Show More” expands the full content, while “Show Less” collapses it again.

Use Case

  • Best for Course Detail Pages where a preview of the course description is needed.
  • Improves readability and user engagement by keeping content compact and expandable.