Opens in a new tab

Sticky photos, full height

A sticky-photos section for Bricks Builder, in the full-height version: the photo panel fills the right half of the screen edge to edge as you scroll through the text blocks on the left, each with its own matching photo for phones. Good for a story told in steps alongside changing imagery.

Dark mode readyNeeds Code execution

Copying for Fancy Framework · Desktop first

Needs a framework. Get Fancy Framework (free)

In the annual plan, $99/year. See plans

Uses a small script. Turn on Code execution in Bricks › Settings › Custom code. How to turn on Code execution

Preview

Preview of the sticky photos, full height template: a sticky-photos section for Bricks Builder

Template details

What’s inside

The components it’s built from. They come with the template when you paste it, and you edit them from the Bricks panel.

  • FBK Button

    A link styled as a button, with style, size and width.

  • FBK Image

    A photo with proportion, shape, decoration, border and an optional caption.

  • FBK Intro

    Eyebrow, title, lead and an actions slot for buttons.

Adjust it

Change these variables in Bricks to tune it; everything else follows your framework.

On the element Sticky photos, class fbk-stickyphotos

Height of each text block and of the photo panel; panel distance from the top of the screen

--fbk-t-block
70vh
--fbk-t-panel
min(78vh, 44em)
--fbk-t-top
calc((100vh - var(--fbk-t-panel)) / 2)

How long a text block takes to rise in (class .fbk-stickyphotos--reveal)

--fbk-t-rise
0.6s

More like this

See all All templates