Opens in a new tab

Horizontal scroll

A horizontal scroll section for Bricks Builder where the section stays pinned while the page scrolls and a row of project cards slides sideways. Built on the FBK Card, a progress bar shows how far along you are and cards light up as they arrive.

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 horizontal scroll template: a horizontal scroll section for Bricks Builder where the section stays pinned while the page scrolls and a row of project cards slides sideways

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 Card

    A media slot, title, text, a content slot and an actions slot.

  • 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 Horizontal scroll, class fbk-hscroll

Width of the intro and of each card, height of the cards

--fbk-t-intro
min(26em, 85vw)
--fbk-t-card
min(36em, 80vw)
--fbk-t-height
min(64vh, 34em)

How long a card takes to light up near the middle, and its slow photo zoom (class .fbk-hscroll--focus)

--fbk-t-fade
0.6s
--fbk-t-zoom
5s

Replaces

In Fancy Bricks 1.0 and 2.0 this was Horizontal Scroll (2.0).

More like this

See all All templates