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 2 replies, 2 voices, and was last updated 1 months ago ago by Jack Richardson
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
You must be logged in to reply to this topic.Log in/Sign up