Hi,
I have two websites where I have a 2 column row. The right column has a form, which should become sticky when scrolling begins.
I am trying to use the CSS:
position: sticky;
top: 150px;
On the first website it works perfectly. On the second website, which uses a clone of the Pro Layout, the sticky form will not stick!
The only difference between the two websites is that the second one has a div with the sticky ID. The div contains a heading, text and form integration. On the first website the form integration has the heading and text within the embedded form and the sticky ID is applied to the form integration element.
On the second website I have even tried removing the div and making it a simple sticky form integration element identical to the first website. Despite this, it will still not stick like in the first website!
I have checked for typical issues such as overflow and flex, but both websites are identical in their set-up.
Are you able to help?
Thanks,
Christopher