Shopify Horizon guide
How to stop product details sticking in Horizon
What you’ll need
A duplicate of your theme to test on
How to get this: A duplicate of your theme to test on
- Online Store › Themes › … on your theme › Duplicate.
- Make the change on the copy, preview it, and publish only when it works.
The theme editor (to paste into Theme settings › Custom CSS; no code editing)
How to get this: The theme editor
- Online Store › Themes › Edit theme (on a copy of your theme if you want to test first).
- Add section or Add block › Custom Liquid, paste the code, then Save.
Steps
- Online Store › Themes › Customize on your Horizon theme (use … › Duplicate first if you want to try it on a copy).
- In the page menu at the top, pick Products › Default product (or the product template you use).
- In the left bar open Product information and click Details.
- Turn off Sticky on desktop (under Layout) and Save.
Why CSS often fails here
Community answers that set position: relative on .sticky-content--desktop break when the class or nesting changes between Horizon versions. The switch removes the class at the source, so it keeps working after updates.