Shopify themes, liquid, logos, and UX
Hey there.
Basically, I just want sticky header for my Shopify store. For all versions - mobile and desktop.
I want sticky header without announcement bar.
Thanks in advance!
Store - www.topdrive.store
Hi, can you please check option 2 in this link and confirm if it works as expected:
Dear @YuntioR
Hope this will help you
/* Start */
.sticky {position: fixed;top: 0;width: 100%;z-index: 999; max-width: 100%;background: #fff;-webkit-box-shadow: 0px 5px 22px -8px rgba(0,0,0,0.75);-moz-box-shadow: 0px 5px 22px -8px rgba(0,0,0,0.75);box-shadow: 0px 5px 22px -8px rgba(0,0,0,0.75);}
/* End*/
// Start sticky Navbar
$(window).scroll(function(){
if ($(this).scrollTop() > 50) {
$('.site-header').addClass('sticky');
}
else {
$('.site-header').removeClass('sticky');
}
});
// End sticky Navbar
If you still need help you can contact us by using the link or email given at signature.
Ok then need to check backend, please contact us if you need help at task4store@mswebdesigner.com
Thank you so much!!!
I've been trying to fix this for so long and it worked. I'm using Brooklyn theme right now.
@MS-WEB-DESIGNER, is it possible to have the sticky header without announcement bar, only on desktop? I would like to have my mobile version with sitcky announcement bar (as on mobile the menu is displayed in the announcement bar).
Thanks in advance!
Yes it is possible
User | RANK |
---|---|
71 | |
66 | |
65 | |
53 | |
48 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023