Sticky head on scroll up not working on my store

Frazer1
New Member
16 0 0

Hey all, in the theme editor I have sticky header on scroll up enabled, however when I go to my website it's not working as expected. It seems to function as if sticky header is disabled. Here is a link to my store. Any ideas how to fix this?

Replies 3 (3)

PageFly-Richard
Shopify Partner
4226 957 1604

Hi @Frazer1 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style> 
.shopify-section.shopify-section-group-header-group.section-header {
position: sticky;
top:0;
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

Frazer1
New Member
16 0 0

This seems to make the header sticky, but I was hoping to only have it sticky on scroll up

PageFly-Richard
Shopify Partner
4226 957 1604

With only that, seems like the sticky is already worked when you scrolled up

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.