Sticky sidebar does not work

Hello, I ran into a problem. I’m trying to create sticky sidebar navigation, but it just does not work. I can’t figure out where is the problem. Thank you in advance for help :slight_smile:

“.Paslauga menu” has to be sticky inside “.Paslauga_sticky content wrapper left” but it doesn’t work. May someone can see the problem. Thank you!


“position: sticky” won’t work if any of your parent elements have a “overflow: hidden” applied to them. I saw that both “Paslauga_sticky content wrapper left” and “Content Section” had overflow: hidden, so change them to “overflow: visible” and it should work :slight_smile:

1 Like

Oh my! Such a dumb mistake… I thought only the first parent element has to be with overflow: visible.

Anyways, thank you so much, Robin! You made my day!