
外掛標籤
開發者團隊
② 後台搜尋「ScalingHawk Smooth Scroll (Powered by Lenis)」→ 直接安裝(推薦)
原文外掛簡介
ScalingHawk Smooth Scroll (Powered by Lenis) replaces the default browser scrolling with a smooth, fluid, inertia-based scrolling experience powered by the Lenis scrolling engine.
This plugin enables smooth scrolling in WordPress using the Lenis JavaScript library. This plugin is not affiliated with or endorsed by the Lenis project.
Key Features
Smooth Inertia Scrolling — Natural, frame-synced scroll animations
Smooth Anchor Links — Automatically smooths all anchor navigation (#links)
Fixed Header Support — Auto-detects sticky/fixed headers and offsets scroll targets
GSAP ScrollTrigger Compatibility — Syncs with GSAP animations automatically
Scroll-to-Top Support — Universal detection of scroll-to-top buttons across themes
Conflict Detection — Warns about existing smooth scroll CSS or libraries
Accessibility — Focus management after smooth scroll for keyboard/screen reader users
Dynamic Content — Handles AJAX content, page builders, and lazy-loaded sections
Admin Settings — Full control over scroll duration, smoothness, header offset, and more
Universal Theme Compatibility
Works with all WordPress themes including:
Kadence
Astra
GeneratePress
Flavor
Flavor starter
OceanWP
Elementor-based themes
Gutenberg block themes
Custom themes
Page builders (Elementor, WPBakery, Beaver Builder, Bricks)
Performance
No jQuery dependency
Single requestAnimationFrame loop
Lightweight architecture (~12KB total)
Defers to GSAP ticker when available (no double RAF)
