emcp_custom_219Built with the EMCP Widget Builder and registered under the EMCP Custom category of the Elementor panel. Search the panel for: unfold, read more, expand, collapse, truncate, show more.
Visible Height appears when Fold By is height; Visible Lines appears when Fold By is lines; Visible Words appears when Fold By is words.Fold By = height
Long-form content goes here. The first part stays visible and the rest folds away behind a Read more button, so long descriptions, terms, or specifications do not push the rest of the page down.
Add as many paragraphs as you like. When the reader expands the block the full text is shown in place, and the button turns into Read less.
This works for product descriptions, biographies, FAQs, legal copy and anything else that is useful but not essential on first view.
Fold By = lines
Long-form content goes here. The first part stays visible and the rest folds away behind a Read more button, so long descriptions, terms, or specifications do not push the rest of the page down.
Add as many paragraphs as you like. When the reader expands the block the full text is shown in place, and the button turns into Read less.
This works for product descriptions, biographies, FAQs, legal copy and anything else that is useful but not essential on first view.
Fold By = words
Long-form content goes here. The first part stays visible and the rest folds away behind a Read more button, so long descriptions, terms, or specifications do not push the rest of the page down.
Add as many paragraphs as you like. When the reader expands the block the full text is shown in place, and the button turns into Read less.
This works for product descriptions, biographies, FAQs, legal copy and anything else that is useful but not essential on first view.
Every control the widget exposes, grouped by panel section. Names in code are the setting keys used by the MCP tools (add-free-widget, update-widget).
Content
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Contentcontent | Rich text | Long-form content goes here. The firs... | ||
Fold Bymode | Dropdown | Visible height, Number of lines, Number of words | height | |
Visible Heightheight | Slider | min 40, max 800, px | 120 | Shown when mode = height |
Visible Lineslines | Number | min 1, max 40 | 4 | Shown when mode = lines |
Visible Wordswords | Number | min 5, max 1000 | 40 | Shown when mode = words |
Expand Labelmore_text | Text | Read more | ||
Collapse Labelless_text | Text | Read less | ||
Iconicon | Icon | fas fa-chevron-down | ||
Button Stylebtn_style | Dropdown | Text link, Button, Outline button, Pill, Full-width bar | link | |
Button Alignmentbtn_align | Button group | Left, Center, Right | flex-start | |
Fade Out at the Foldfade | Toggle | on / off | yes | |
Fade Color (match background)fade_color | Color | #ffffff | ||
Allow Collapse Againcollapsible | Toggle | on / off | yes | |
Scroll Back to Top on Collapsescroll_back | Toggle | on / off | yes | |
Animation (ms)duration | Number | min 0, max 2000 | 400 | |
Click Anywhere on Folded Text to Expandtrigger_click_box | Toggle | on / off |
Text
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Typographytypo | Typography | |||
Colorcolor | Color | #344054 | ||
Box Backgroundbox_bg | Color | |||
Box Paddingbox_pad | Dimensions | |||
Box Borderbox_border | Border | |||
Box Radiusbox_radius | Slider | min 0, max 40, px | 0 | |
Fade Heightfade_h | Slider | min 16, max 300, px | 64 |
Button
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Typographybtn_typo | Typography | |||
Colorbtn_color | Color | #6a11cb | ||
Text Color (solid styles)btn_text_solid | Color | #ffffff | ||
Hover Backgroundbtn_bg_h | Color | |||
Paddingbtn_pad | Dimensions | |||
Radiusbtn_radius | Slider | min 0, max 60, px | 8 | |
Space Abovebtn_mt | Slider | min 0, max 60, px | 12 | |
Icon Sizeicon_size | Slider | min 8, max 30, px | 12 |
Any connected agent can place this widget: call add-free-widget with widget_type: "emcp_custom_219" and a settings object using the keys above. Run get-custom-widget with id 219 for the full JSON spec.