So I have this piece of design (not showing the content):
As you can see here, there is a container and 'All topics' in it.
What I want to achieve here is that when the user scrolls down and reaches that container, there appears a sticky menu which will follow the user until the footer. How can I achieve this.
I tried to write a changeCss function which changes the className of an element under some condition (in this example, height) but it didn't seem to work