Issue with Spacing After Sticky Activation

This topic has 2 replies, 2 voices, and was last updated 4 weeks, 1 days ago ago by Jack Richardson

  • Avatar: mahdar
    MAHDAR
    Participant
    February 9, 2025 at 12:09

    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!

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    February 10, 2025 at 08:54

    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

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.