Archived topic
Turn Off Mobile Navigation
12 replies · Started by Robert on December 11, 2018
This is probably me being stupid, but when I enable the mobile header (Sticky) - I keep getting a primary navigation drop down that I don't want. I can't seem to disable it. It also squishes the mobile header. Vast majority of my customers are phone users because their computers need fixin. LOL Thanks!
Hi there,
Not quite sure if I understand. So you don't want a mobile menu at all?
Yup.
My customers are mobile users by a wide margin because their computers arent working.
I just wanted my logo to float at the top alone.
I have a bottom call now/get directions button that never moves and just wondering if I could get something similar with this header. There's no sticky option for the non-mobile header..
Sorry so what's wrong with the default mobile layout (non-mobile header)? That the logo isn't sticky?
Either/or. The logo isnt sticky, yes. Or the Mobile has the odd mandatory menu.
Can you turn off mobile navigation first?
Done.
I still see it. Might need to clear your caching plugin.
okay, cleared and disabled caching while working. forgot that darn thing was on.
Ok so now the only problem is that it's not sticky right?
If so try this CSS:
@media (max-width: 768px) {
.site-header {
position: sticky;
top: 0;
}
}
Hmm, copied a few times and CSS editor keeps warning me.
There are 2 errors which must be fixed before you can save.
But I went ahead and saved anyway, but noticed nothing different. In mobile, tablet or desktop.
Appreciate your help though
This appears to work..
@media (max-width: 768px)
{.site-header {
position: sticky;
top: 0;
}
}
Got me pointed in the right direction!
Ahh yeah sorry missed a bracket above.
Glad I could help!