Question · 24 November 2026

How do I add a fade between pages in Shopify?

Open Online Store, Themes, Edit code, and add @view-transition { navigation: auto; } at the end of your main stylesheet (base.css on Dawn). Chrome, Edge and Safari 18.2 or newer then cross-fade between pages; other browsers load pages as before.

The code

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

The outer rule leaves visitors who ask their device for less motion without any. Duplicate your theme first and add it to the copy, so the live shop is untouched while you look.

What you get, and what you don’t

A soft cross-fade of the whole page, about a quarter of a second. You can slow it or shape it with a few more lines (how), but it stays a fade of one picture into another: no cover in your colours, no logo, no waiting for a slow page, and Firefox does nothing. Theme updates also do not carry your edit across; you add it again.

If you want designed moves without touching code, an app embed does it: How to add page transitions to a Shopify store.

You can see it on your own shop before installing anything: type your address into Try it on your store and click around your real store with Segue on.