What is the code to a Sticky Fixed Mobile

Highlighted
Tourist
29 0 1

I want to sticky fix my header bar my header and my navigation for mobile. Does anyone have a code for it

0 Likes
Highlighted
Shopify Expert
1381 111 200

hi@@

 

use this code slove a problem

sticky class add in header

 

css file

.sticky {
position: fixed;
top: 0;
width: 100%;
}

0 Likes