How to fix a non-sticky header on Narrative theme?

Hello,

I am using Narrative theme on my store and the header keeps popping up when scrolling on the site.

is there a solution to fix it, make it sticky?

searching in the previous discussions, solutions provided are not working. For example:

<!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'theme.min.js' | asset_url }}" defer="defer"></script><!--<![endif]-->
  <!--[if lte IE 9]><script src="{{ 'theme.min.js' | asset_url }}"></script><![endif]-->

i could not find it in the Layout / theme.liquid

Thank you!

Hi @IdealConcept ,

You can find theme.liquid file from Shopify store admin > Online store > Themes > next to Narrative theme, click Actions >Edit code


i found this previously.

what i cannot find is the below code:

<!--[if (gt IE 9)|!(IE)]><!--><script src="{{ 'theme.min.js' | asset_url }}" defer="defer"></script><!--<![endif]-->
  <!--[if lte IE 9]><script src="{{ 'theme.min.js' | asset_url }}"></script><![endif]-->