Separator

The separator field can be used to create additional notes for groups of options or as a divider between smaller groups of options settings.

{
    "name": "separator",
    "type": "separator",
    "label": "Separator label",
    "note": "Separator description text",
    "group": "Menu",
    "size": "small"
}
Separators

The available sizes for the separator field:

  • small
  • medium
  • big
  • thin (a thin border line with a thickness of 1px)

 

Tips: In some cases, you may want to use the line only; to achieve this, leave the label parameter empty.

You can use the same name for all separators in your theme, as they are not stored under the theme settings config file.

Create your first website with Publii

Join thousands of creators who chose independence. Create content locally and publish lightning-fast, secure websites on your own terms.

Download Publii

Free and open source. Windows, macOS and Linux.

Read the getting started guide