| 开发者 |
wpwing
voboghure |
|---|---|
| 更新时间 | 2026年5月30日 15:26 |
position: sticky (which only works within its parent scroll container), WPWing Sticky Block uses position: fixed with intelligent scroll detection, so it works reliably in any layout.
Key Features
#footer).aria-label on the sticky wrapper to give screen reader users useful context.Yes — v2.0.0 fully supports multiple sticky blocks on the same page. Each block has its own independent settings and scroll listener.
Yes. The block works in both the classic page/post editor and the full-site editor (Site Editor) in WordPress 5.9+.
If a parent element has overflow: hidden or overflow: clip set, position: fixed will be clipped to that container and may not behave as expected. Remove the overflow restriction on the parent, or move the sticky block outside the constrained container.
Yes. Open the Responsive panel in the block settings and enable "Disable sticky on mobile". You can also adjust the breakpoint (default: 768 px).
Open the Behavior panel and enter a CSS selector in the "Stop before element" field — for example #footer or .site-footer. The block will un-stick before its bottom reaches that element.
It should not conflict, but if both your theme and the plugin apply position: fixed to overlapping elements, adjust the Z-index setting in the block sidebar to control which element sits on top.