divianimator.com
  • Extensions
    • Text Animation
    • Image Animation
    • Image Reveal on Hover
    • Advanced Animation
    • Cursor Move Effect
    • Tilt Effect
    • Cursor Follower
    • Horizontal Scroll
    • Sticky Elements
    • Cursor Trail
  • Layouts
    • Layout Packs
    • Page Layouts
    • Section Layouts
  • Help
    • Documentation
  • Login icon
  • Pricing
Select Page

Getting Started

  • How to Install DiviAnimator

Divi Extensions

  • Text Animation
  • Horizontal Scroll
  • Image Animation
  • Sticky Elements
  • Image Reveal on Hover
  • ScrollSmoother
  • Cursor Follower
  • Tilt Effect
  • Cursor Trail
  • Draw SVG
  • Advanced Animation
  • Cursor Move Effect

Divi Modules

  • Advanced Heading
  • Circular Animation
  • Floating Elements
View Categories
  • Home
  • Docs
  • Divi Extensions
  • Sticky Elements

Sticky Elements

Reference guide for creating pinned elements that stick during scroll in DiviAnimator.

Requirements #

You need Divi Theme or Divi Builder, DiviAnimator, and the Sticky Elements Extension enabled. Requires Divi 5.

Overview #

Sticky Elements pins an element to the viewport during scroll, then unpins it at a specified trigger. The element stays fixed on screen until the trigger is reached, at which point it continues with normal scroll behavior.

Applies to: Row and Section elements. Add this extension to a Row or Section to enable pinning on that element.

Enabling the Extension #

  1. Go to DiviAnimator → Extensions in your WordPress admin
  2. Find Sticky Elements and toggle it on
  3. Click Save Settings

Once enabled, go to a Row or Section in your page builder. In the Row/Section settings, click the Advanced tab to find Sticky Elements settings. Settings below control when the element pins and unpins.

Settings location: Row/Section → Advanced tab → Sticky Element section

Pin Wrapper #

Selects which container element receives the pin behavior.

OptionBehavior
DefaultUses the element's natural wrapper
CustomSpecifies a custom selector for the wrapper

Use Default for most cases. Use Custom if the pinned element needs a specific parent container.

Start Position #

Defines where the element sits relative to the viewport when pinning starts. This is the position at which the element becomes sticky.

PositionMeaning
Top TopElement top aligns with viewport top
Top CenterElement top aligns with viewport center
Top BottomElement top aligns with viewport bottom
Center TopElement center aligns with viewport top
Center CenterElement center aligns with viewport center
Center BottomElement center aligns with viewport bottom
Bottom TopElement bottom aligns with viewport top
Bottom CenterElement bottom aligns with viewport center
Bottom BottomElement bottom aligns with viewport bottom
CustomUse custom positioning values

Most common: Top Top (element sticks to top of screen when scrolled into view).

End Trigger #

CSS class selector (must start with '.') that defines when the pin stops. The pinned element unpins when this trigger element reaches the position specified in the End setting.

Example: If End Trigger is '.section-end' and End is 'Bottom Bottom', the element unpins when the .section-end element reaches the bottom of the screen.

Required: This field must contain a valid CSS class selector.

End Position #

Defines where the trigger element is positioned when the pin stops. Uses the same position options as Start Position.

Example: If End is 'Bottom Bottom', the pin stops when the trigger element's bottom reaches the viewport bottom.

Pin Toggle #

OptionBehavior
OnElement is pinned during scroll
OffElement scrolls normally (no pinning)
CustomPinning controlled by custom condition

Use On for standard pinning. Use Off to temporarily disable pinning without removing settings.

Pin Spacing #

Automatically adds spacing to prevent layout jumps when the element pins and unpins.

OptionBehavior
TrueAdds spacing, prevents layout shift (default)
FalseNo spacing, element may jump
CustomCustom spacing value

Important: Pin Spacing only works if the container uses display: flex. Use True to avoid visual jumps.

Pin Type #

Determines the CSS method used for pinning.

TypeMethodRecommended
FixedUses CSS position: fixedYes
TransformUses CSS transform propertyAlternative

Fixed is the standard choice and works in most cases. Transform is an alternative that may work better in some layering scenarios.

Debug Markers #

Shows visual guides on the page to help debug pinning behavior during development. Toggle on to display markers. Toggle off to hide them.

Debug markers show the pin boundaries and trigger points. Enable during setup to verify positioning is correct, then disable before publishing.

Configuration Examples #

Header Pin to Section End #

Pin a header at the top of the screen until a specific section ends.

SettingValue
Pin WrapperDefault
StartTop Top
End Trigger.section-end
EndBottom Bottom
PinOn
Pin SpacingTrue
Pin TypeFixed

Side Panel Pin #

Pin a side panel to screen center until trigger point.

SettingValue
StartCenter Center
End Trigger.panel-end
EndBottom Center
Pin TypeTransform

Hero Section Pin #

Pin hero section at viewport bottom until next section appears.

SettingValue
StartBottom Bottom
End Trigger.next-section
EndTop Bottom
Pin SpacingTrue

Troubleshooting #

Element not pinning #

Verify the extension is enabled on the Row/Section. Check that End Trigger contains a valid CSS class starting with '.'. Enable Debug Markers to see pin boundaries. Ensure the container element exists on the page.

Element unpins too early or too late #

Adjust the End Position setting. Enable Debug Markers to see when unpin happens. Verify the End Trigger class is applied to the correct element. Check if trigger element position is as expected.

Layout jumps when pinning/unpinning #

Enable Pin Spacing if not already on. If already enabled, ensure the container uses display: flex. Check for conflicting CSS rules that might interfere with spacing calculation.

Pin doesn't work with custom wrapper #

Verify Pin Wrapper is set to Custom. Ensure the custom selector correctly targets the desired wrapper element. Test the selector in browser console: document.querySelector('your-selector').

Fixed vs Transform not working properly #

If Fixed causes layering issues, try Transform. If Transform causes alignment issues, use Fixed. Test both options to find which works better with your layout.

Debug Markers not showing #

Verify Debug Markers toggle is on. Clear browser cache. Check if custom CSS is hiding the markers. Enable in browser inspector to confirm they're present in DOM.

Pin works on desktop but not mobile #

Pinning behavior is global. If it only affects desktop, check for device-specific CSS that might interfere. Test in multiple browsers and devices. Verify End Trigger element exists on mobile.

Pinned element disappears #

Check z-index—pinned element may be behind other content. Verify element is not set to display: none by CSS. Enable Debug Markers to confirm element is pinning but obscured.

Support #

For issues or questions, contact support@diviexpand.com or submit a ticket through your DiviAnimator account.


© 2026 DiviAnimator. All rights reserved.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on September 8, 2026
Image AnimationImage Reveal on Hover
Table of Contents
  • Requirements
  • Overview
  • Enabling the Extension
  • Pin Wrapper
  • Start Position
  • End Trigger
  • End Position
  • Pin Toggle
  • Pin Spacing
  • Pin Type
  • Debug Markers
  • Configuration Examples
    • Header Pin to Section End
    • Side Panel Pin
    • Hero Section Pin
  • Troubleshooting
    • Element not pinning
    • Element unpins too early or too late
    • Layout jumps when pinning/unpinning
    • Pin doesn't work with custom wrapper
    • Fixed vs Transform not working properly
    • Debug Markers not showing
    • Pin works on desktop but not mobile
    • Pinned element disappears
  • Support
Subscribe to our newsletter

Success!

Subscribe

Company
  • !
    Home
  • !
    About Us
  • !
    Contact Us
  • !
    AFFILIATES PROGRAM
Resource
  • !
    Documentation
  • !
    Affiliate Policy
  • !
    Refund Policy
  • !
    Terms of Service
  • !
    Privacy Policy
Our Products
  • !
    Bundle Pack
  • !
    WooEXPAND
  • !
    MINICART EXPAND
  • Follow
  • Follow
  • Follow
  • Follow

© 2026 DiviAnimator. All rights reserved.

support@diviexpand.com

DiviAnimator