The sticky header bar is not working on my Dawn 13.0.1 Theme despite it being set to “always fixed” in the visual editor. I already tried several possible solutions from this forum and other websites, incorporating CSS Coding and even modifications to the javascript of the header.liquid file, but nothing worked.
My Store link is https://liftandtravel.at
I am using the “Essential Announcement Bar” app for the announcement bar, but even with this app embed disabled the fixed header bar does not work. I would like to make the announcement bar disappear when scrolling down but not the header bar.
Best regards, Michael
Any help would be very much appreciated.
I would like to avoid updating my theme altogether, if possible, because there is a lot of custom coding going on in the current version of the shop.
I don’t know how, I don’t know why, but now it suddenly works, without changing anything in the last few hours… Maybe this was just some weird error, and it took some time to properly update or something was cashed in my browsers (i tried multiple ones for testing), hard to say, but this issue is therefore closed.
I revert, this seems to have just been coincidence, on the collection page it works: https://liftandtravel.at/collections/all-products
But on the homepage and product pages it somehow doesnt… https://liftandtravel.at/ and for example https://liftandtravel.at/products/prime-2-0
Okay, I finally solved it. I had some custom CSS in my section-main-product.css, which hid the overflow for many things, because I had issues with weird scrollable areas, which shouldn’t be scrollable, and destroyed the website flow, but this has also overwritten the position: sticky attributes of the header and some other things…
html, body, product-modal, product-modal div{
overflow-x: hidden !important;
}
I changed this to overflow-x: clip; and now it works fine.
1 Like
I could use some help with this as well. I am using Dawn - with Shopify announcement - Sticky header not working any longer… just stopped, not sure what caused it. Any help would be greatly appreciated.
html, body{
overflow-x: clip !important;
}
It’s working for me