How to activate sticky header Expression 8.2.0?

chrisfromsatine
Visitor
3 0 0

Hi Team,

 

I just purchased Expression 8.2.0 theme, but I'm unable to activate the sticky header. 

 

Do you have a solution?

 

Thanks!

Replies 4 (4)

PageFly-Oliver
Astronaut
840 176 157

Hi @chrisfromsatine ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
.header-group{
position: sticky;
    top: 0;
    z-index: 1;
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | 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.

chrisfromsatine
Visitor
3 0 0

Thanks Oliver for your reply, I copy/paste you code but the header is still not sticky. Do you have an alternative solution?

 

 

Screenshot at Mar 20 20-47-47.png

chrisfromsatine
Visitor
3 0 0

I have a sticky header on my products page when I added your code in header.liquid.  However it doesn't work for the home page.

 

Screenshot _2.png

Dan-From-Ryviu
Shopify Partner
7538 1454 1452

Hi @chrisfromsatine 

Please check your Online Store > Themes > Customize > Header if there is an option to enable stick for your header. If it doesn't have, please add this code to your theme.liquid file, after <head> 

<style>
.header-group {
position: sticky;
top: 0;
z-index: 3;
}
</style>

 

- Helpful? Like or Accept solution! - Buy me a coffee
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look
- Enjoy 1 month of Shopify for $1. Sign up now