I am currently working on a jQuery Mobile(JQM) project. I am using jquery.mobile-1.4.5 for this project. I am trying to implement a mobile and tablet responsive side menu panel with a fixed header.
in mobile view => panel width = 100%
in tablet view => panel width = 30%
I use the following @media code to achieve this.
@media all and (max-width: 35em) {
.overlay{
width: 100%
}
}
@media all and (min-width: 45em) {
.overlay{
width: 30%
}
}
After run this code the fixed header overlap with the menu
tablet view
mobile view
please help me to solve this issue.. or if there is any better solution to achieve this that would be great
This is the ui that i am expecting
in mobile view
in tablet view
NOTE : please don't get confused with the back button and the close button.
Thanks and best regards



