Carry a layer over to other pages
Let a layer, such as a header logo or a photo, move and resize from where it was when a visitor goes to another page.
On this page 5 sections
When a visitor follows a link, a page transition changes the whole page at once. A layer that carries over doesn't change with the rest: it moves and resizes from where it was to where it is on the next page. The transitions themselves are set as in "Animate going from page to page".
Select the layer and open its Page transition section. Turn on Carry over to other pages. The layer takes its own name as a name to carry over by, in lowercase with hyphens. Put a layer with the same name on the page you link to, and the visitor sees one layer travel from one to the other.
The name
Name is what ties the two layers together. Type it as you like: "Cover photo" becomes cover-photo. A name has 1
to 40 letters, digits or hyphens; the editor says so when it isn't one. Same as lists the names other layers of the
site already use, so the second layer gets exactly the same one.
The section isn't there for a page's root. A layer that carries over shows a badge in the layers panel.
Lists and detail pages
In a collection list, each card's layer matches the layer on its own item's detail page. A dish photo on a menu card becomes the photo at the top of that dish's page, and each card goes to its own.
One name, one layer per page
If two layers on a page have the same name, only the first one in the page's order carries over. The publish report warns about it, under the motion check; give the other layer a name of its own.
Where it plays
It plays where page transitions play: on the published site and in the preview, when a visitor follows a link from one page of the site to another. Browsers without page transitions, such as Firefox, open the page at once, and visitors who ask their device for reduced motion see none. The canvas doesn't play it.
If a site has names but no page transition, the named layers still move, at the browser's own pace, and the rest of the page changes at once. A page whose own transition is None changes at once, named layers included.
With the AI
Ask the AI agent to keep a layer in place across pages, such as the header, and it sets the same name on both.