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:

  1. Click on the Row Layout or Section block you'd like to style
  2. In the block settings on the right, click the Advanced tab
  3. 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)
  4. You should see the style applied right there in the editor
  5. Don't forget to save
Where to add a CSS class

Scallop border

Scallop border design

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 bottom
  • tart-scallop-top  : top only
  • tart-scallop-bottom  : bottom only
  • tart-scallop-all  : all four sides
Adding a bottom scallop edge

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

Inset border design

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  
Inset border CSS class

Still need help? Contact Us Contact Us