Goal: make the homepage header fixed with no animation, while all other pages keep the sticky header with “Scroll Up” animation.
Progress and attempts:
Initial CSS suggestion (setting the header wrapper to position: fixed globally) made the header fixed site‑wide, which didn’t meet the need for homepage‑only behavior.
Requirement clarified: homepage should mimic the “None” setting (no animation), other pages should retain “Scroll Up.”
Working solution:
Edit theme.liquid and insert a Liquid condition targeting the homepage template (template.name == ‘index’) before .
Use this conditional to apply homepage‑specific logic that disables the sticky/scroll animation on the homepage only, leaving other templates unchanged.
Notes:
The exact code snippet isn’t fully shown in the thread, but the approach hinges on a Liquid conditional for the homepage and corresponding CSS/JS to disable the animation there.
Screenshots illustrate the theme settings; the key change is in theme.liquid.
Outcome: The change was confirmed to work by the requester. Status: resolved.
Summarized with AI on December 23.
AI used: gpt-5.
I am designing my homepage and currently have my sticky header animation on “Only on scroll”. But I want my sticky header on the homepage to be different from the rest of my site. I want the header on my homepage to be fixed at the top of the page and not have any animation, while keeping the other pages on my website WITH the “Only on scroll” animation. Here is my website: Viibed
Not quite what I wanted, but I want it to have no animation like how the “None” setting does it and keeps it at the top of the page. I’ll show it here.