Uses id, class, tag, width, align, vertical-align, colours, spacing, radius, shadow, max-width.
FX Shortcodes
FX Shortcodes — samples & attribute coverage
Types: cover, group / section, columns + column, details / accordion, media-text / mediatext, button, card, spacer, separator / hr, line / colored-line, sticky / note. Legacy [sticky] shortcode is listed at the end.
How it reads on the site: For every sample, the rendered layout appears first (real shortcodes). The textarea under it is copy-ready text with encoded brackets so it never runs as shortcode inside the field.
Table of contents
- Common attributes (all types)
- Cover
- Group / section
- Columns / column
- Details / accordion
- Media & text
- Button
- Card
- Spacer
- Separator / hr
- Line / colored-line
- Sticky / note
- Composite nesting
- Legacy [sticky] shortcode
Common attributes
Usable on almost every [element type="…"] wrapper: class, id, tag (allowed: div, section, article, aside, header, footer, main, nav, figure), width (full → alignfull, wide → alignwide, or any CSS length), align (left | center | right), vertical-align (top | center | bottom), background (image URL), background-color, color or text (same effect), padding, margin, gap, border-radius or radius, shadow (box-shadow), min-height, height (often maps to min-height on cover), max-width.
Sample — common set on group
Uses id, class, tag, width, align, vertical-align, colours, spacing, radius, shadow, max-width.
[/element]
Sample — background image + focal on section
Group/section accept background + focal like cover.
Group/section accept background + focal like cover.
[/element]
Cover
Specific: background, overlay, overlay-opacity (0–1, default 0.5), parallax (1 / 0), focal, height / min-height, plus common + width full/wide.
Full hero — image, overlay, focal, button
Cover headline
Overlay + focal + nested button.
[element type=”button” url=”/contact” style=”outline” color=”#ffffff”]Contact[/element]
[/element]
Parallax background
Parallax uses parallax="1".
Parallax uses parallax="1".
[/element]
Colour-only cover (no image)
No background image
No background image
[/element]
Wide alignment (not full bleed)
width="wide" → theme alignwide.
width="wide" → theme alignwide.
[/element]
Group / section
Specific: layout — omit / default (block), flex, grid. With flex: justify — start, center, end, space-between, space-around. Plus all common attributes.
Block group (default layout)
Default layout
Stacked block content.
Default layout
Stacked block content.
[/element]
Flex — justify="space-between", vertical-align="center"
Flex row
Flex row
[element type=”button” url=”/action”]Action[/element]
[/element]
Flex — justify="space-around"
Flex — justify="end"
Grid layout
North
East
South
West
Columns / column
On columns: columns (count), stack (1 collapse on narrow / 0 keep row), gap, width, vertical-align, common styles.
On column: span (flex-basis e.g. 33%, 320px), vertical-align, common styles.
Two equal columns
Left
Column one.
Right
Column two.
Left
Column one.
[/element]
[element type=”column”]
Right
Column two.
[/element]
[/element]
Four columns, stack="0" (stay side‑by‑side on small screens)
Asymmetric — span on columns
Narrow sidebar (span="35%").
Main column (span="65%").
Narrow sidebar (span="35%").
[/element]
[element type=”column” span=”65%”]
Main column (span="65%").
[/element]
[/element]
Details / accordion
Specific: summary (label), open (1 expanded / 0 collapsed). Types details and accordion are the same renderer.
Closed + open variants
Closed panel (default open=0)
Hidden until opened.
Open on load
open="1" — expanded initially.
Hidden until opened.
[/element]
[element type=”accordion” summary=”Open on load” open=”1″]
open="1" — expanded initially.
[/element]
Stack with width + styling
First question
Second question
Media & text
Specific: media, media-alt, media-position (left | right), media-width (CSS; empty or 50% → equal 1fr/1fr), stack (1/0), crop (1 = object-fit cover height). Aliases: mediatext.
Default (equal columns), image left
Beside image
Equal columns when media-width omitted.
Beside image
Equal columns when media-width omitted.
[/element]
media-position="right", media-width="40%"
Image on the right
Narrower media track.
Image on the right
Narrower media track.
[/element]
crop="1" — fill text column height
Cropped image
Image column matches text height (object-fit: cover).
Cropped image
Image column matches text height (object-fit: cover).
[/element]
Alias mediatext
Same as media-text.
Same as media-text.
[/element]
Button
Specific: url (absent → <button type="button">), target, rel (empty + target="_blank" → noopener noreferrer), style — fill | outline | text, size — small | (default) | large, background-color, color or text, border-radius / radius, padding. Global: class, id.
Styles + sizes
External link — auto rel for target="_blank"
Custom rel override
Real <button> (no url)
Colours, radius alias, padding
color vs text (equivalent)
Card
Specific: image, image-alt, title (<h3>), url (wraps entire card in a link), target, rel. Plus common + tag (default article).
Image + title + body
Card title
Body markup inside the card.
Body markup inside the card.
[/element]
Whole-card link
Click anywhere — one anchor wraps the card.
[/element]
No image — tag="figure", width, styling
Quote card only
Text-only card with custom wrapper tag.
Text-only card with custom wrapper tag.
[/element]
Three-up cards in columns
Spacer (void)
Specific: direction — vertical (default) | horizontal. Vertical: height (default 2rem). Horizontal: width (default 1rem).
Vertical gap
Horizontal inline gap
Horizontal spacer inside flex row
Right
Separator / hr (void)
Specific: style — default | wide | dots | dashed | double. color or text. width — full, wide, or CSS length. align — left | center | right. margin, max-width. Alias: hr.
Variants
Width keywords + numeric + align + colour + margin
Line / colored-line (void)
Specific: style — striped | dotted | shade. height, width, padding (outer, default 32px 0), background-color inner bar, color/text (currentColor for striped/dotted), align left | center | right. Alias: colored-line.
Striped, dotted, shade
Solid bar via background-color
Alias + left align
Sticky / note
Specific: rotate, aspect-ratio, shadow — 1 for default sticky shadow or any CSS box-shadow string. Plus common styles; width full/wide applies. Alias: note.
Default-style sticky
Square-ish post-it with preset shadow flag.
Square-ish post-it with preset shadow flag.
[/element]
Custom shadow string + alias note
Custom box-shadow value.
Custom box-shadow value.
[/element]
Wide sticky with width
Wider alignment class on wrapper.
Wider alignment class on wrapper.
[/element]
Composite nesting
Demonstrates nested [element] parsing (innermost-first).
Nested layout
[element type=”columns” columns=”2″ gap=”1.25rem”]
[element type=”column”]
[element type=”button” url=”/start” style=”fill” size=”large”]Start[/element]
[/element]
[element type=”column”]
[element type=”button” url=”/learn” style=”outline” size=”large”]Learn[/element]
[/element]
[/element]
[element type=”spacer” height=”1.25rem” /]
[element type=”separator” style=”dots” color=”#cbd5e1″ /]
[/element]
[/element]
Legacy [sticky] shortcode
Registered separately (FX Builder migrations). Alias attributes: bg-color → background-color, text-color → color, etc.