I've been experimenting with creating a floating menu using SMINT. The idea is to have the menu stay visible as you scroll down the page.
The issue I'm facing is that the current menu structure uses divs
. I would like to switch to using li
and ul
elements for a more standard menu, but when I make this change, the menu no longer stays fixed while scrolling down; Demo.
I've seen examples of floating menus built with ul lis
at Infinity Network Floating Code. These menus work well when scrolling down the page.
It seems like there may be an error in my code preventing it from functioning correctly.
Q: What could be causing the issue in my code or how can I fix it to achieve the desired functionality?
Thank you in advance.