Magento Commerce, 2.3.x

Divider

Use the Divider content type to add a rule as a visual break between sections of content on the stage. You can specify the line color, thickness, and width of the divider, as well as control the alignment, margins and padding, and format of the container border. By default, the divider is a hairline rule that extends the full width of the container, with allowance for padding.


Default Divider in Container without Border

Although most divider containers are invisible, in the following example, the container has a red dashed border so you can see the relationship between the divider, its padding, and the container. You can adjust the padding at the top and bottom of the divider to control the spacing between elements.


Divider with Padding in Container with Dashed Border
  • Divider Toolbox

    TOOL

    Icon

    Description

    Move

    Moves the divider container to another valid place on the page.

    (label)

    DIVIDER

    Identifies the current container as a divider element.

    Settings

    Opens the Edit Divider page, where you can change the properties of the divider and its container.

    Hide

    Hides the divider container.

    Show

    Shows the hidden divider container.

    Duplicate

    Makes a duplicate copy of the divider container.

    Remove

    Deletes the divider container and its content from the stage.

  • Divider Settings

    Setting

    Description

    Line Color

    Determines the color of the divider.

    Line Thickness

    Determines the thickness of the divider in pixels.

    Line Width

    Determines the width of the divider in pixels, or as a percentage.

    Advanced

    Alignment

    Determines the horizontal alignment of the divider in relation to its parent container. Options:

    Default

    Applies the default setting that is specified in the style sheet of the current theme.

    Left

    Aligns the divider along the left border of its parent container, with allowance for any padding that is specified.

    Center

    Aligns the divider in the center of its parent container, with allowance for any padding that is specified.

    Right

    Aligns the divider along the right border of its parent container, with allowance for any padding that is specified.

    Border

    Determines the border style that is applied to all sides of the divider container. Options:

    Default

    Applies the default border style from the style sheet that is associated with the current theme.

    None

    Provides no visible indication of container borders.

    Dotted

    The container border appears as a dotted line.

    Dashed

    The container border appears as a dashed line.

    Solid

    The container border appears as a solid line.

    Double

    The container border appears as a double line.

    Groove

    The container border appears as a grooved line.

    Ridge

    The container border appears as a ridged line.

    Inset

    The container border appears as an inset line.

    Outset

    The container border appears as an outset line.

    Border Color

    Determines the color of the container border. Specify the color by choosing a swatch, clicking the color picker, or by entering a valid color name or equivalent hexadecimal value.

    Border Width

    Determines the width in pixels of the container border.

    Border Radius

    Specifies the size of the radius that is used to round each corner of the container border.

    CSS Classes

    Specifies the names of CSS classes from the current style sheet which apply to the divider. Separate multiple class names with a space.

    Margins and Padding

    Determines the size, in pixels, of the outer margins and inner padding of the row. Enter each corresponding value in the row container diagram. Options:

    Margins

    The amount of blank space, in pixels, that is to be applied to the outside edge of all sides of the divider container. Options: Top, Right, Bottom, Left.

    Padding

    The amount of blank space, in pixels, that is to be applied to the inside edge of all sides of the divider container. Options: Top, Right, Bottom, Left.