To view the page with the issue, click here
I am attempting to make the column (div) day/date headers sticky when they scroll out of view so that users can always see what day they are looking at. Instead of directly manipulating the header itself, I have set up a second hidden span with fixed position (currently visible in red) that will be shown when scrolling down.
The headers load as fixed correctly initially but then switch to absolute positioning once the carousel function loads, and I am unable to determine why this is happening.
If anyone has any suggestions on how to fix this or approach it differently, please share. The only limitation is to avoid using tables to maintain responsiveness for mobile devices.
Thank you in advance for your input!
- Rich