Opens in a new tab

Sticky photos

A scrolling story for Bricks Builder: text blocks rise into view one after another on the left while a sticky photo panel on the right slides sideways to match whichever block is on screen. On phones each block carries its own photo above it instead of the sticky panel.

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

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

Replaces

In Fancy Bricks 1.0 and 2.0 this was Sticky horizontal scroll section (2.0).

More like this

See all All templates