Custom section

Custom Section allows you to build flexible layouts by combining Row, Column, and Block.
Starting from Vetro v2.2.4, Custom Section also supports Custom Liquid for advanced customization using HTML, CSS, and Liquid.

Section Structure

Custom Section always follows this structure:

Custom section → Row → Column → Block

Note

1. Row

Row is used to divide the section horizontally.

Row with 12 columns

Examples:

Row with 10 columns

Examples:

Note

2. Column

Column is a child element of Row and is used to contain content.

Column settings

Note

3. Block

Block is the actual content displayed inside a Column.

Supported blocks

Custom Liquid allows you to insert HTML, CSS, and Liquid directly into your layout without editing theme files.

Placement

Custom section → Row → Column → Custom liquid

Example: Custom liquid block - CSS Marquee Banner

You can use Custom Liquid to create a scrolling marquee banner using CSS only.

<div class="vetro-marquee">
  <div class="vetro-marquee-track">
    <span>🌿 Botanical extracts</span>
    <span>✨ Dermatologist tested</span>
    <span>🐰 Cruelty free</span>
    <span>💧 Everyday hydration</span>

    <span>🌿 Botanical extracts</span>
    <span>✨ Dermatologist tested</span>
    <span>🐰 Cruelty free</span>
    <span>💧 Everyday hydration</span>
  </div>
</div>

<style>
.vetro-marquee {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  background: #f3eee8;
}

.vetro-marquee-track {
  display: flex;
  width: max-content;
  animation: vetroMarquee 20s linear infinite;
}

.vetro-marquee-track span {
  margin-right: 24px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: #6e8b6b;
}

@keyframes vetroMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
</style>

Note

Result:

4. Spacer

Spacer creates vertical spacing between blocks or rows.

Note