Hi,
I'm using the Brooklyn theme and I copied and pasted a code for a sticky header. Super nice and it's working but...
Actually I don't want to use it on the homepage (because I like that the home header is transparant).
Can I also just use the sticky header on the other pages (especially on the product pages).
Hope that someone can help me, we actually wanted to go live tomorrow and now I want to have a sticky header hahaha...
Solved! Go to the solution
Sorry for facing this issue, it's my pleasure to help us.
Welcome to the Shopify community!
and Thanks for your Good question.
Please share your site URL,
So I will check and provide a solution here.
thanks for the store details
i have check sticky header is working fine what's the issue give me a screenshot or video?
@KetanKumar is it possible to NOT have the sticky header on the home page?
So actually only on the other pages? (especially the pages with many products)?
do you mean the home page is not sticky and another page is sticky header-right this?
This is an accepted solution.
Thanks for confirm
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.scss.liquid->paste below code at the bottom of the file.
.template-index .header-wrapper, .template-index .header-container {
position: absolute;
}
it's my pleasure to help us
User | Count |
---|---|
441 | |
197 | |
102 | |
100 | |
89 |