Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Set image position: center, top, bottom, left, right.
cover, contain, or specific dimensions.
Control repeat behavior.
Primary focus: Control background image positioning and scaling.
---
layout: home
hero:
background:
type: image
image:
src: /images/hero-bg.jpg
position: center
size: cover
repeat: no-repeat
---| Key | Values | Description |
|---|---|---|
hero.background.image.position | center, top, bottom, left, right | Image position |
hero.background.image.size | cover, contain, auto, or dimensions | Image sizing |
hero.background.image.repeat | repeat, no-repeat, repeat-x, repeat-y | Repeat behavior |