Hello, I hope you’re doing well.
I’ve set a container to Sticky mode, but when I scroll and the sticky state activates, it seems to have a few pixels of padding.
Please check the video.
If this spacing can be removed, that would be great!
This topic has 3 replies, 2 voices, and was last updated 3 weeks, 1 days ago ago by MAHDAR
Hello, I hope you’re doing well.
I’ve set a container to Sticky mode, but when I scroll and the sticky state activates, it seems to have a few pixels of padding.
Please check the video.
If this spacing can be removed, that would be great!
Dear @MAHDAR,
We hope you are doing well.
It appears that the sticky effect does not function correctly when the container’s padding is set using percentage (%) values. We kindly recommend using alternative units such as pixels (px), viewport height (vh), viewport width (vw), or any other suitable unit instead. This is because the fixed positioning in the browser may not accurately display offsets when percentage-based padding is applied.
Please let us know if you need any further assistance.
Best regards,
Jack Richardson
8Theme Team
Thanks for the support! My topic “Issue with Spacing After Sticky Activation” has been successfully resolved.
The issue related to '‘Issue with Spacing After Sticky Activation’' has been successfully resolved, and the topic is now closed for further responses