Mobile Sticky Header - Gap - part 2

Hi, after the last update, the gap in the mobile header came back.

I was told to add this in my child theme:

@media screen and (max-width: 979px) {
.hm12.x-bar.x-bar-fixed,
.hm7.x-bar.x-bar-top.x-bar-h.x-bar-relative.x-hide-lg.x-hide-xl.x-bar-fixed {
top: 90px !important;
}
}

and it had worked great. But now it doesn’t work on any of the pages…?

Please let me know soon.

Thanks,
Tina

Hello Tina,

Thanks for asking. :slight_smile:

Please add following CSS under Pro > Theme Options > CSS to fix the problem:

@media screen and (max-width: 979px) {
.e138-12.x-bar.x-bar-top.x-bar-h.x-bar-relative.x-hide-lg.x-hide-xl.x-bar-fixed {
    top: 90px !important;
}
}

Thanks.

Thanks @Prasant. But…please take a look to see what happens.

When you scroll down, the mobile menu disappears until you reach the footer.

T

Hi there,

That is not the case for me:

Please clear your mobile browser cache or check the case with another browser or Phone.

Thank you.

Hi @christopher.amirian,

It works great on the homepage only. Please click on “checklists” or “supplies”…

Thanks :wink:

T

Hi,

To fix it, you can add this in Theme Options > CSS

@media screen and (max-width: 979px) {
.e214-7.x-bar {
    top: 90px !important;
}
}

Hope that helps.

Still not helping. Any idea?

Thanks :slight_smile:
T

Hi,

Please replace code with this.


@media screen and (max-width: 979px) {
.e214-7.x-bar {
    top: 0px !important;
}
.e214-7.x-bar.x-bar-fixed {
    top: 90px !important;
}
}

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.