Sticky header enabled ONLY for responsive website
Is it possible to enable the sticky header only for the mobile version of the site? This is for www.statustrucks.com
I've found that if I disable it in the header/subheader options it disappears both for desktop and responsive versions of the site, even if the sticky box is checked under the responsive - header options.
I need the header and not just the navigation toggle to remain sticky for mobile and tablets but disable it for desktop screen sizes.
I had tried hiding it with css on desktop screen sizes, but that only removes the navigation and shows an empty header when I scroll down.
@media only screen and (min-width: 768px) { #Top_bar.is-sticky .menu_wrapper:not(.responsive-menu-toggle) { display: none !important; } }
@media only screen and (min-width: 768px) { #Top_bar.is-sticky .menu_wrapper:not(.responsive-menu-toggle) { display: none !important; } }
Any suggestions?
Comments
yes, it is possible. You can enable sticky header for mobile only under Theme options > Responsive > Header section.