Scrolling content inside a fixed or sticky div (mobile navbar)

hello guys, here’s an interesting question. I need to scroll some content inside a fixed div. I can’t do it with visibility:overflow because it’s a menu, or better yet, I don’t know-how.

The problem is as follows: I’m working on a mobile menu that needs to stay fixed on top. I used sticky and fixed position but the content (menu items) overflows the height and because it is fixed it won’t scroll.

what can I do?


Here is my site Read-Only: https://preview.webflow.com/preview/jumpstartfilings?utm_medium=preview_link&utm_source=designer&utm_content=jumpstartfilings&preview=2abe560781d329c88c3dbac7fded309c&mode=preview

hi @mao you should create a container on top of the dropdown content and place the overflow to scroll . this should create a scrollable section within the dropdown.

Let me know!

1 Like

Hi there, I am dealing with a similar issue, can I ask you what you mean with “create a container on top of…” - you mean a div that contains the dropdown?