Tart – Custom CSS Design Elements
Tart comes with some extra design touches you can add to your pages: a scallop border and an inset border. You add them with a CSS class, which sounds tech-y, but it's really just typing a word into a box. No coding needed!
How to add a CSS class
Both effects work on a Row Layout block or a Section block. Here's how to add a class to one:
- Click on the Row Layout or Section block you'd like to style
- In the block settings on the right, click the Advanced tab
- Open the Advanced section at the bottom, find the Additional CSS class(es) field, and type in the class name (you'll find the class names below)
- You should see the style applied right there in the editor
- Don't forget to save
Scallop border
The scallop border gives the edges of a Row or Section a soft, scalloped shape. There are four versions, depending on which edges you'd like scalloped:
tart-scallop: top and bottomtart-scallop-top: top onlytart-scallop-bottom: bottom onlytart-scallop-all: all four sides
For example, add tart-scallop-top to a colored row to give it a pretty scalloped on the top. Or add tart-scallop-all to a Section block to add the scallop on all four sides.
Inset border
The inset border adds a thin white line just inside the edges of a row or section, like a little frame. It's a simple way to make a section feel extra polished.
tart-inset-border