Skip to main content

Divider

Live preview of the Divider element in the Salient WordPress theme. Two short paragraphs parting to make room for a full width divider, whose line then draws in from the centre. Sample content, for demonstration only.

The Divider puts a rule between two pieces of content, or adds space. It is the smallest element in the set and one of the most used, since a short centered line under a heading appears throughout the demos.

For a shaped edge between two rows rather than a line inside one, use Shape Divider.

Settings​

  • Line Type Choice Full Width Line spans the column, Small Line is a short accent rule, Vertical Line runs down rather than across, and No Line leaves only the spacing, turning the element into a spacer.
  • Line Alignment Choice Left, center or right, for the small line.
  • Line Thickness Choice From 1px to 10px.
  • Custom Line Width Number Overrides the default length.
  • Divider Color Choice From the theme palette.
  • Height NumberResponsive. Set a different value for desktop, tablet and phone. The space the element occupies, which is the whole of what a No Line divider does.
  • Animation Delay Number How long to wait before the line draws itself in as it scrolls into view.
No Line as a spacer

No Line is the honest way to add vertical space between elements. It is preferable to empty text blocks or stacked line breaks, because the space is a setting someone can find and change later rather than invisible content.