Opens in a new tab

Gallery Snap Strip

Templates2 minutes readUpdated 3 Oct 2026

This article documents

Gallery Snap Strip Free

Gallery · CSS only

A horizontal strip of tall photo cards that snaps into place as it scrolls, with a wider first card, a caption and a number on every frame and round arrow buttons in the header.

Requires: the Bricksify Companion for the arrows (its Scroll Slider script, no library). The strip itself is a native scroll-snap row: without the script it still scrolls and snaps with touch, a trackpad or Shift and the mouse wheel, and the arrows stay hidden.

How it works#

  • The section carries the class bxc-scroll-slider, which loads the script. It looks inside for bxss-track (the strip), bxss-slide (each card), bxss-prev and bxss-next (the arrows).
  • The arrows move one card at a time and switch off at either end.
  • On the section, data-bx-drag and data-bx-keys are set to 0: as in the original, a mouse does not drag the strip and the arrow keys are left to the page. Remove them to turn both on.
  • Hovering a card zooms its picture to 105% in 0.5s (a Transform on the :hover state of bxg51-img).

What you replace#

In the structure panelWhat to do
Eyebrow, HeadingYour words
Card 1 to Card 7Picture, Title, Place and year and Number. Duplicate a card to add one.

The pictures are ordinary Bricks Image elements, so Bricks’ Import pasted images/SVGs setting handles them when you paste. Replace them with your own.

Layout and breakpoints#

Cards are 288px wide and the first one 384px, all 3:4, with 16px between them and 40px of padding on the strip. At 478px the cards are 224px (the first 288px), the padding 24px and the heading drops from 48px to 30px. The card width is a Bricks setting on bxg51-card; the first card’s own width is set on that element.

Classes#

Global classes with typed settings: bxg51-arrow, bxg51-card, bxg51-img, bxg51-shade, bxg51-caption, bxg51-label, bxg51-sub, bxg51-num. The class bsfy-g51 on the section holds only the scroll-snap rules, the hidden scrollbar, the disabled arrows, tabular numbers and reduced motion.

Reduced motion#

The arrows jump instead of scrolling smoothly and the hover zoom is off.