Kindly EditDocumentationTry the editor

Divider

A thin line between two things.

Use this element#

Use a divider to separate related parts of a page. Choose Solid, Dashed, Dotted, or another offered line style and the intended length.

A divider does not replace headings or meaningful structure. Keep its contrast and spacing appropriate to the surrounding content. Use section spacing when you only need breathing room.

Availability#

Available through the appropriate content or section picker when the theme and editing context allow it.

Content controls#

These are the controls registered for this element. A control that depends on another setting or the surrounding layout appears only when it applies.

Line#

Choice Stored value
Solid (empty/default)
Dashed cb-rule-dashed
Dotted cb-rule-dotted

Length#

Choice Stored value
Full (empty/default)
Short cb-rule-short
Short, centered cb-rule-short cb-rule-center

Style controls#

In Developer mode, Style starts with this element's own group, Divider, open above the shared Style groups (available in 0.9.15 and later):

Control Value
Line thickness Size in px, rem or em
Line color Color

Each works like the rest of the inspector: it starts by showing the element's current look, Reset brings the theme's value back, and each change is one Undo step. Like other Style settings, a value can differ by screen size and state (Normal, Hover, Focus).

Save and check#

  1. Change one setting and inspect the affected element.
  2. Use Undo and Redo to check the edit is reversible.
  3. Save a draft, reopen it, and confirm the content and choices remain.
  4. Inspect the page at desktop and phone widths.
  5. Publish only when the result is ready. For interactive elements, check the visitor view because editing mode can suppress interaction.

How it is stored#

The block comes from blocks/240-divider.html. Its editable content is HTML in the page or owning template. Native settings update words, attributes, classes, or supported style properties. Generated interface controls are not saved into that HTML.

The settings registry matches hr.cb-rule in assets/element-settings.js. Public behavior, when needed, is implemented by the native element runtime in assets/elements.js or assets/blocks.js.

About this page

Documents Kindly Edit 0.9.16. Source: blocks/240-divider.html, assets/element-settings.js, assets/elements.js. Theme choices and account permissions can change which controls appear.

Type a word or phrase to search the full documentation.