Menu
All plugins

Horizontal Scroll

A nestable Bricks element that pins a section and turns vertical scrolling into sideways travel through its panels. Below a breakpoint of your choice, and for visitors who prefer reduced motion, the panels simply stack.

Version: 0.7.0 · Requires: Bricks 2.4+, PHP 7.4+ · See the live demos

What it does

  • Pins the section and moves the panels sideways as the visitor scrolls down.
  • Two transitions: continuous horizontal travel, or each new panel sliding over the last.
  • Optional progress bar, arrows, counter, dots and snap-to-panel.
  • Optional image parallax, content reveal and overlapping panels.
  • Panels are ordinary Bricks blocks, so any element can go inside.

Installation

  1. Upload and activate the plugin. It always starts in safe mode and does not register the element.
  2. Go to Settings, Horizontal Scroll, tick Enable Bricks Horizontal Scroll element and save.
  3. In the Bricks builder add Horizontal Scroll from the General group. It comes with three starter panels.

Scroll transition

  • Continuous horizontal (default) — track — Panels travel sideways in one strip.
  • Slide over previous panel — overlay — Each incoming panel slides in from the right and covers the one before. Panels are forced to full width.

Settings

Layout

  • Desktop panel width — Full viewport (default), 75% or 50%
  • Desktop height (vh) — 50 to 100 (default 100). Desktop only.
  • Panel gap (px) — 0 to 120 (default 0)
  • Scroll distance multiplier — 0.5 to 3 (default 1). One pixel of vertical scroll per pixel of sideways movement at 1.
  • Stack vertically at — 1199, 991, 767 (default) or 477 px. Below it panels stack at natural height.
  • Builder layout — Vertical editing (default) or Horizontal layout preview. The preview does not pin or animate.

Navigation

  • Show progress bar (default: On) and Progress colour (default #86868b)
  • Show previous/next arrows (default: Off)
  • Show panel counter (default: Off)
  • Show panel dots (default: Off)
  • Snap to nearest panel — snaps after scrolling pauses (default: Off)

Visual effects (all off by default)

  • Image parallax and Parallax strength (%) — 0 to 30 (default 12). Add the class nlhs-parallax-image to an image inside a panel. Use an image a little wider than its panel.
  • Reveal panel content and Text reveal distance (px) — 0 to 100 (default 24). Add the class nlhs-reveal to a heading, paragraph or container.
  • Overlapping panels and Panel overlap (px) — 0 to 180 (default 48). Desktop only.

Slide-over refinements

  • Dim outgoing panel and Maximum dimming (%) — 0 to 65 (default 25)
  • Reveal incoming text — animates elements with nlhs-reveal as each panel arrives
  • Text reveal start (%) — 0 to 90 (default 40)
  • Vertical distance per slide (vh) — 35 to 250 (default 100)

Panel widths

Give each directly nested block or container one of these classes. They take priority over the Desktop panel width setting.

  • nlhs-panel-wide
  • nlhs-panel-three-quarter
  • nlhs-panel-half
  • nlhs-panel-third

Known limits

  • Starts in safe mode after every activation; the element must be enabled in Settings.
  • Effects are switched off when panels stack, for reduced motion, and inside the Bricks builder.
  • Per-panel width is set with CSS classes, not a separate panel element.
  • The slide-over mode has no bottom-up transition.
  • Query loops follow the original design and should be tested with your own query setup.