Hi guys,
this a customisation issue so I know it’s outside of the scope of support but wondered if you had any advice.
I’m looking to make some rows sticky so when the user scrolls and the row reaches the top of the page the row sticks, and then following rows are stacked ontop (like this: https://www.youtube.com/watch?v=CSYCpEqMMFM)
In terms of setup I’m using a vc_section as the container and then .vc_row as the sticky cards.
I’ve spent ages using versions of this code (below) but just can’t get the rows to stick for some reason. Thought I would ask the geniuses at Shufflehound!
Many thanks in advance – Mike
.vc_section.stacking { overflow: visible !important; position: relative; display: block; min-height: 200vh; }
.vc_section.stacking .vc_row {
position: sticky !important;
top: 0;
z-index: 10;
display: flex;
}