A style code and a script.
The sticky code is in the -inside head tag- area. That is supposed to make the black square follow the screen down.
the script is inside the -before body tag- area and makes the window jump to next section when you scroll.
If I remove this script, the sticky works. When its there, it doesn’t.
Do I have to do anything special to the style code when I have a script code on the same page?
I can’t test it because it’s a read only site and to see the results I would need to publish it, however, I was recently told that scripts should go in the footer code (on your site settings page under the custom code tab, not inside the designer). It eventually solved my problem, so there is a chance it should do the same for yours.
I moved the code to the footer code section under page settings, same as before.
I see the problem with testing the code. I guess there is no workaround for that, because I have to pay for hosting before you can clone?