Reveal Section on Scroll Back
What You'll Create
A section that appears only when users scroll back up the page - perfect for secondary navigation, promotional banners, or back-to-top elements that don't clutter the initial view.
The Problem It Solves
Some elements are only useful after users have scrolled through content. This technique keeps sections hidden during normal scrolling but reveals them when scrolling back up, creating a smarter user experience.
Perfect For
Secondary navigation, Promotional banners, Quick contact sections, Newsletter signups, Back-to-top elements.
What Makes This Different
JavaScript detects scroll direction and adds a "scrolling-up" class to the body. CSS makes the target section sticky and fades it in/out based on this class. Smooth opacity transitions create an elegant reveal effect.
Details
Section Type: Fluid & Classic
Code Type: CSS + JavaScript
Prerequisites: Section to be revealed on scroll-back
Toolkit Title: Show section on scrollback
Learn This Technique
This is one of 150+ code techniques taught inside Standout Squarespace, where you get:
The complete, copy-paste code
Video walkthrough explaining how it works
The principles behind the technique so you can customize it
Access to our private community for support

