Oh I understand. I hope someone can help ha. Thanks a lot for the help so far!
I dont suppose you have seen anything that could solve: https://community.shopify.com/c/Shopify-Design/Can-the-cart-drawer-open-on-ad-to-cart/m-p/481587
Hate to ask ha :)
Hey Karl, how's it going?
I appreciate the posts you make in this forum, and I've seen you post quite a bit, so cheers!
However, I just tried to implement this JS on my version of Narrative, and it hasn't worked. I think this may have something to do with the fact that I have already gone into the Header.liquid, and done some inline CSS in the HTML of div class="section-header"... and <div class="section-header__wrapper"...
On the section=header, I've set the position as fixed, and I've put a box shadow, and changed the z-index on the wrapper.
My site is BrainGame.org.uk and as you can see, the header is fixed... but it flashes and trys to reset or toggle, like it I am trying to avoid. It's like it can't make it's mind up. I think the issue might be to do with the double check function in the JS? It seems that it's trying to override the inline CSS of 'position: fixed'.....
Any help would be really appreciated dude!! :)
Have a cool day <3
|an hour ago|