Divider

Add a shaped transition, like a wave or a slope, that flows smoothly from one section into the next.

Overview

The Divider section places a shape between two sections. Its colors follow the neighboring sections' color schemes automatically, so the shape blends into the section after it without picking any colors — and keeps matching when you change your color schemes later. Choose from six static shapes and four animated ones, or add your own SVG, and place the divider on top of the previous section, between sections or on top of the next one.

Graphics and position
Setting Type Default Description
Graphic type Select Wave Grouped as Static (Curve, Jagged, Tilted, Wave, Waves (nonsymmetric), Fold), Animated (Rolling curve, Glitch, Chevrons, Mountains) and Custom (Custom SVG).
Custom SVG Code — Your SVG code. Shown when Graphic type is Custom SVG.
Custom SVG for mobile Code — Optional. Replaces the SVG above on mobile.
Flip horizontal Toggle Off Mirrors the shape from left to right.
Flip vertical Toggle Off Turns the shape upside down. Top and bottom colors keep following their place on the page. Use it with Curve to switch between an outward and an inward curve.
Motion Select Continuous Animated graphics only. Options: Off, Continuous, On scroll. See Animated dividers.
Speed Select Medium Animated graphics only, when Motion isn't Off. Options: Slow, Medium, Fast.
Divider position Select On top of previous section Options: On top of previous section, Between sections, On top of next section.
Colors
Setting Type Default Description
Top part Select Transparent Options: Transparent, Match previous section, Match next section, Custom.
Top part color Color #FFFFFF Shown when Top part is Custom.
Middle part Color or gradient — Optional accent between the top and bottom parts. Leave empty to hide it. Animated graphics always show it, and use the button color of your first color scheme when it's empty.
Bottom part Select Match next section Options: Match next section, Match previous section, Transparent, Custom.
Bottom part color Color #000000 Shown when Bottom part is Custom.
Desktop and mobile layout
Setting Type Default Description
Height Range 0 px Set to 0 to keep the shape's own proportions. Between 0 and 800 px. Built-in shapes only.
Width Range 100 % Stretches the shape wider than the screen for a gentler curve. Between 100 and 300 %. Built-in shapes only.
Margin top / bottom Range 0 px Space above and below the divider. Between 0 and 160 px.

Setup

Add a divider

  1. In the theme editor, click Add section where you want the transition and choose Divider.
  2. Choose a Graphic type. For an animated graphic, also choose its Motion and Speed.
  3. Choose a Divider position. On top of previous section is the most common choice: the shape overlaps the end of the section above it.
  4. Check that the colors blend in. By default the top part is transparent and the bottom part matches the next section.
  5. Click Save.

How the colors work

A divider is made of up to three parts: the top part, an optional middle accent, and the bottom part. Match previous section and Match next section use the background color of that section's color scheme, so the divider blends in even after you change your colors.

Let the section above show through

Keep Top part set to Transparent when the divider sits on top of the previous section. The previous section's colors or image then show through above the shape, and the bottom part flows into the next section.

When to use Custom colors

Automatic matching reads the neighboring section's color scheme. If that section has an image background or its own background color setting, or if the divider is the first section in the footer, set the part to Custom and pick the color yourself.

Animated dividers

The Animated graphics move on their own or as the page scrolls:

  • Rolling curve: a wave whose top and bottom layers roll past each other.
  • Glitch: horizontal bars that snap sideways now and then.
  • Chevrons: arrows that march across the divider, fading out at the edges.
  • Mountains: three mountain ranges that move at different speeds for a sense of depth.

The Middle part color is the main color of the moving shapes, and animated graphics always show it. Gradients work too. Each graphic uses the color parts like this:

Graphic Top part Middle part Bottom part
Rolling curve Above the wave The band that rolls between the waves The wave
Glitch Not used The accent bars, offset from the others The other bars and the solid area below them
Chevrons Not used The chevrons The background around the chevrons
Mountains Not used The two ranges at the back (the farthest one is lighter) The front range

Where a graphic doesn't use the top part, the section behind the divider shows through above the shapes.

On Rolling curve and Mountains, a gradient is repeated as it moves: each screen width shows the gradient and then its mirror image, so the motion loops without a visible seam.

Motion decides how the graphic moves:

  • Continuous moves the graphic all the time, in every browser.
  • On scroll moves it only while visitors scroll past the divider, so it feels tied to the page. Firefox doesn't support this yet, so there the divider shows without motion.
  • Off shows the graphic as a still image.

Use Flip horizontal to change the direction of the motion.

Chevrons over an image

Set Bottom part to Transparent and Divider position to On top of previous section. Only the chevrons show, and the image of the section above stays visible around them.

Use motion sparingly

One animated divider per page draws attention to the section that follows. Several moving dividers at once compete with your content.

Reduced motion

Visitors who have turned on reduced motion in their device or browser settings always see animated dividers without motion, whatever the Motion setting.

Make your pages feel designed, not stacked

Shaped transitions guide the eye from one message to the next and make a page look custom-built rather than a stack of boxes. Use them between a hero and your featured products, or before a newsletter signup, to give key moments on the page more presence.

Updating from an earlier Taiga version

Dividers need to be set up again after updating to Taiga 9.0.0

The Divider section no longer uses Standard and Custom blocks — all settings are now in the section itself. Dividers added in an earlier version keep their place on the page, but their block settings aren't carried over, so they show the default Wave shape with automatic colors.

Set up an existing divider again

  1. In the theme editor, select the divider section.
  2. Choose its Graphic type. For a former Custom block, choose Custom SVG and paste your SVG code again. Elliptic is now part of Curve: choose Curve and turn on Flip vertical.
  3. Set the Divider position and the flips as before.
  4. Check the colors: in most cases Match next section for the bottom part gives the same result as the color you picked before. Otherwise choose Custom and enter the color.
  5. Click Save.

Before updating, write down each divider's shape, position and colors from your current theme — or keep a copy of the old theme open in another tab to compare.


Advanced

This section is intended for developers customising the theme. No changes here are required for normal use.

Color variables

The divider sets --divider-top-fill, --divider-middle-fill and --divider-bottom-fill on .divider-graphics, and section-divider.css applies them to the .top-part, .middle-part and .bottom-part paths. "Match previous/next section" resolve to --divider-previous-bg / --divider-next-bg, generated per color scheme in css-settings-and-variables.liquid:

.shopify-section:has(> .color-{id}) + .section--divider { --divider-previous-bg: <scheme background>; }
.section--divider:has(+ .shopify-section > .color-{id}) { --divider-next-bg: <scheme background>; }

Both fall back to the page background when the neighbor has no color scheme on its direct child.

Animated graphics

All motion is CSS, with no JavaScript. sections/divider.liquid adds divider-motion-continuous or divider-motion-scroll to .divider-graphics and sets --divider-speed (0.5, 1 or 2).

  • Rolling curve and Mountains draw each moving layer as its own <svg class="divider-layer divider-slide">, two periods (2880 units) wide, which slides by translateX(-50%). Moving whole elements with transform lets the browser animate them without repainting the shapes. --slide-duration (seconds per loop at medium speed) and --slide-loops (loops per scroll pass) are set per layer.
  • Chevrons are HTML. .divider-chevrons-track is masked to a repeating chevron and moves one chevron width per loop, while .divider-chevrons-fill inside it (the middle color) moves back by the same amount, so the gradient stays in place. .divider-chevrons-fade fades the edges with a still mask, so the bottom part can be transparent.
  • Glitch rows (.divider-glitch) jitter with steps(). Each row has its own --gx distance, --d duration, --delay and --i snaps per scroll pass.
  • On scroll uses a named view-timeline (--divider-pass) on .divider-graphics, inside @supports (animation-timeline: view()).
  • A middle gradient on the moving layers is drawn as an SVG <pattern> that shows the gradient and its mirror image in every 1440-unit period, so it loops without a seam.
  • prefers-reduced-motion: reduce turns all divider animations off.
  • When the middle color is empty, animated graphics use var(--color-button-background), which resolves to the first color scheme.

Custom SVG colors

Give paths in your SVG the classes top-part, middle-part or bottom-part to use the divider's color settings. The CSS fill overrides any fill attribute on those paths.

<svg viewBox="0 0 1440 120" preserveAspectRatio="none">
  <path class="bottom-part" d="M0 60 Q720 0 1440 60 V120 H0 Z"/>
</svg>

Where a middle part sits under the bottom part, end it 2 units above the bottom edge instead of on the edge. When both parts end on the same edge, their anti-aliased edge pixels blend and the middle color shows as a thin line. The built-in shapes follow this rule.

Sibling selectors only work within the same section group, so a divider at the start of the footer group can't see the last section of the main content — it falls back to the page background.