Webflow sync, pageviews & more.
NEW

What is the simplest method to separate the scrolling action of a section and its content in Webflow for the purpose of creating a two-level scrolling system, where users can navigate between sections and scroll within them?

TL;DR
  • Create full-height sections inside a wrapper with inner content divs set to 100% height and overflow: auto.
  • Set the wrapper to overflow: hidden to prevent scroll bleed, enabling independent scrolling within each section’s content.

To create a two-level scrolling system in Webflow—where users scroll through full-page sections, and then scroll within those sections independently—you can use a combination of overflow control and fixed or sticky positioning.

1. Structure Your Sections

  • Create a top-level wrapper div that will contain all your full-page sections (e.g., Section Wrapper).
  • Inside this wrapper, create individual full-height sections (e.g., 100vh).
  • Each section can contain content that's vertically scrollable.

2. Enable Inner Scroll for Content

  • For each section, add a child div (e.g., Section Content) that holds the actual inner content.
  • Set this div’s height to 100% of the section (100% or 100vh depending on structure).
  • Set overflow: auto on the Section Content div to allow scrolling inside it.
  • Optionally use padding or margin to create internal spacing.

3. Disable Scroll Bleed Between Sections

  • To keep scrolling within content from affecting the main page scroll, ensure only one area is scrollable at a time:
  • Set the outer Section Wrapper div to overflow: hidden to prevent unintended page scroll.
  • Only the Section Content should scroll when the user interacts inside a section.

4. Manage Section Transitions (Optional)

  • For more control over section navigation (scroll-jumping between sections), consider one of:
  • FullPage.js integration (for advanced scroll hijacking).
  • Anchor links + smooth scrolling using Webflow’s built-in linking to element IDs.
  • Custom interaction triggers: detect mouse wheel or keypresses to switch sections manually (requires custom code).

5. Make It Mobile-Friendly

  • Test thoroughly on mobile and tablet sizes.
  • Inner scroll areas can be harder to use on mobile devices due to touch events, so ensure the scrollable areas are clearly indicated and sized properly.

Summary

To create a two-level scroll in Webflow, use overflow: auto on inner content containers inside fixed-size sections, and prevent scroll bleed with proper overflow: hidden on parent wrappers. This allows users to scroll within sections without affecting the overall section navigation.

Rate this answer

Other Webflow Questions