Site logo

[Resolved] How do you get only one container sticky ?

Home Forums Support [Resolved] How do you get only one container sticky ?

Home Forums Support How do you get only one container sticky ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2568577
    Rudy

    Hello,

    I tried following all the threads on this forum about this particular subject but I didn’t manage to do it.

    I have a flex-container with several other containers inside, and I’d like to have only one of these container to be sticky and follow the scroll of my reader.

    Can you tell me how I could achieve this effect please ?

    #2568796
    Ying
    Staff
    Customer Support

    Hi Rudy,

    Select the flex container which is the parent of the sticky-container, and set its align-items to flex-start.

    #2568861
    Rudy

    Thank you very much, it worked perfectly 🙂

    #2569021
    Ying
    Staff
    Customer Support

    Glad to hear that 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.