Guys I explain my problem ... I'm working on a menu for the mobile (the code is extremely long) and I want to use the "sticky header"
That isn't a problem because with js, when i scroll the page the code added this class to fixed the header
.fixed {
position: fixed;
top: 0;
z-index: 999;
}
My header has height: 90px
and when i click on icon appear the menu, i want that it will appear under the header (and the menu must be into a div that covers entire page except the header), so i think that i must to add position: fixed
and top: 90px
on my menu no ? The problem is that after it isn't scollable...
i'm tried to add
overflow-y: scroll;
overflow-x: hidden;
but doesn't work...
sincerely if there was another way instead to use overflow
it would be better (because i hate the second scroll-bar created by overflow)...
i hope that you can help me and sorry if i don't have an example...
thanks