Sticky header on mobile
-
Hi there,
i am struggling to make the header on mobile version sticky using premium generatepress template . Do you have any idea how i can do it please ?
in fact, i managed to return it sticky by adding this css code on “Additional CSS” section:
@media(min-width :766px){
.site-header{position: sticky; top: 0; z-index: 99;}
.main-navigation{
position: sticky; top:191px; z-index:99;}
}but it doesn’t work on mobile version ! I tried to change “min-width :766px” with “max-width :766px” in the code but still not working ..
THANK YOU in advance for your help
The page I need help with: [log in to see the link]
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Sticky header on mobile’ is closed to new replies.