WordPress plugin
WP Sticky PRO
WP Sticky PRO keeps a selected page element visible after a user scrolls it to the top of the page. Use it for a menu, header, widget, sidebar, logo, call-to-action box or banner ad. You can make multiple components sticky and configure each one separately.
Element selection
WP Sticky PRO keeps a selected page element visible after a user scrolls it to the top of the page. Use it for a menu, header, widget, sidebar, logo, call-to-action box or banner ad. You can make multiple components sticky and configure each one separately.
Choose an element with the visual picker or enter a unique selector based on its name, class or ID. Depending on the page structure, selectors such as nav, #main-menu or .menu-main-menu-1 may identify it. Use a more specific selector if needed so it matches the intended element uniquely.
Placement and visibility controls
- Top spacing: Set the distance between the sticky element and the top of the page.
- Screen sizes: Set minimum and maximum screen sizes for sticky behavior, including limits for responsive layouts.
- Page exclusions: Select posts, pages, categories, tags and custom post types where the element should not stick.
- Push-up element: Choose another element lower on the page that can push the sticky element upward again.
- Admin Bar awareness: Account for the WordPress Admin Toolbar so the sticky element does not cover it or sit behind it.
- Z-index: Adjust stacking order if another element overlaps or shows through the sticky element.
Modes and debugging
Legacy Mode uses the older method of making elements sticky. Dynamic Mode is available with Legacy Mode to address issues that can occur with responsive themes. Debug Mode can help identify possible reasons an element does not stick by displaying error messages in the browser console.
Set up a sticky element
- Install and activate WP Sticky PRO in WordPress.
- Choose an element with the visual picker or a unique selector.
- Set top spacing, screen-size limits and page exclusions as needed.
- Configure push-up behavior, Admin Bar handling and Z-index settings.
- Use Debug Mode if the selected element does not behave as expected.
These settings let you keep navigation, calls to action, sidebar content and other selected components available during scrolling, while applying the behavior only to chosen layouts and pages.
