Site Builder: Searching Layers and the Selection Path
Find an element in a long page with the Search layers field, and use the selection path bar along the bottom of the site builder to see where the selected element sits and jump to its parent.
Two small tools in the site builder help you find your way around a page with many elements. The Search layers field in the Layers panel narrows the list of elements to the ones you are looking for. The selection path bar along the bottom of the builder shows where the selected element sits (page, section, then the containers around it) and lets you select any of those levels with one click.
Read the Layers rows
Each row in the Layers panel starts with a small icon for the element type (heading, text, button, shape, image or box). Then comes the name:
- A name you set with Rename layer always wins.
- Otherwise the row shows the element's type and, when it has its own copy, a short preview of it, for example "Heading · Welcome to…" or "Button · Shop now". Elements with no copy show just the type, such as "Image".
Hover over a name to see it in full as "name (double-click to rename)", and double-click it to rename.
The ▲ (Move up in stack) and ▼ (Move down in stack) buttons sit over the right end of the row, so the name does not move or get cut shorter when they appear. They are visible on the selected row, on the row under your pointer, and on a row that has keyboard focus. Tab to a row's buttons and they appear.
Search the Layers panel
Open the site in the builder
Go to Hosting, open Hosted Apps, open your site and click Edit in Builder.
Open the Layers panel
In the left rail click Layers. The panel opens next to the rail with one group per section ("Section 1", "Section 2" and so on) and a row for every element inside it. Click Layers again, or the Close panel button at the top right of the panel, to hide it.
Type in Search layers
Click the Search layers field under the panel title and type part of a name. The list narrows as you type.
Select the element
Click the row you want, as you would in the full list. It is selected on the canvas and the toolbar changes to match it.
Clear the search
Click the ✕ (Clear search) button at the right end of the field, or click in the field and press Escape. The full tree comes back. The button only appears once there is text in the field.
What a search matches
A layer matches when what you typed appears in either of these:
- The name you gave it. That is the name you set with Rename layer. If you never renamed it, the search uses its kind label such as
textorcontainer. A row can also show a preview of its own copy (see below), but the search does not look at that preview. - Its kind label. This is checked even on a layer you renamed. A text element renamed "Hero headline" is found by typing
headlineand also by typingtext.
Capital letters do not matter, spaces at the start and end of what you typed are ignored, and you can type any part of the name, not only the beginning. A layer that is hidden (Hide layer) or locked (Lock layer) is still searched.
What the list shows while you search
- Matches and the layers around them. Every matching row stays, together with all of the containers it sits inside, so you can see where it lives. The containers shown only for that reason are dimmed compared with the real matches.
- Collapsed containers are searched too. A match inside a container you had collapsed is still found, and its containers are opened so the row is not hidden.
- Your own collapsed containers are not lost. Opening them for the search does not change which ones you had collapsed. When you clear the search, each container goes back to the way you left it. To keep it that way, the expand and collapse arrow (▾) at the left of a container row is greyed out while you search. Hover over it to see "Clear the search to expand or collapse layers". Clear the search first if you want to open or close a container yourself.
- Sections with no match are left out. A section group with no matching layer disappears from the list until you clear the search.
- No match. If nothing matches, the list is replaced by "No layers match your search". Check the spelling or type a shorter piece of the name.
Reordering is switched off while you search
While a search is active (the Search layers box contains something other than spaces) and at least one layer matches, a note under the field reads "Clear the search to reorder layers". Every way of changing the stacking order is disabled whenever a search is active:
- the drag handle (⠿) on each row is dimmed and does nothing when you press on it;
- the ▲ (Move up in stack) and ▼ (Move down in stack) buttons are greyed out.
Hover over the handle or either button to see the same message. The reason is that the list is partial: dropping a layer into a list that hides some of its neighbours would put it in the wrong place among the layers you cannot see. Clear the search, then reorder.
Everything else on a row keeps working while you search: selecting the row, Hide layer, Lock layer and Rename layer. If you rename a layer to something that no longer matches, it drops out of the search results.
Escape clears the search first, and only then closes the panel
While there is text in Search layers, Escape clears the text and stops there. Press Escape a second time, with the field empty, to close the Layers panel.
Read the selection path
The selection path is a thin bar along the very bottom of the builder, under the canvas. It reads left to right, for example:
Home › Section 2 › container › text
| Crumb | What it shows | What clicking it does |
|---|---|---|
| Page | The page's name (the Page name field at the top of the builder). If the name is blank it reads Page. | Clears the selection, so no section or element is selected. |
| Section | Section followed by its number, by its position on the page. | Selects that section. The section toolbar appears, except on a section with no elements in it, where the page toolbar is shown instead. |
| Containers and the element | One crumb for each container the selected element sits inside, outermost first, ending with the element itself. Each shows the layer's name from Rename layer, or its kind label if it has no name. | Selects that container or element. |
The last crumb is the current selection and is shown in bold. Clicking an earlier crumb is the quickest way to select the container around a small element, because you do not have to hunt for the container's edge on the canvas. It selects through the same actions as clicking the row in the Layers panel, so the two always agree.
How the bar behaves
- Nothing selected. Only the page crumb is shown.
- A section selected, no element. The page crumb and that section's crumb.
- Long names. A crumb is cut off with
…after about 160 pixels. Hover over it to see the full name. - Deep nesting. With more than five crumbs, the middle ones collapse into a single non-clickable
…. The page and section crumbs stay at the left, and the last two levels, ending with the selected element, stay at the right. Hover over the…to read the names of the levels that are hidden. To reach a hidden container, select it in the Layers panel, or select a visible crumb next to it and use the canvas.
Troubleshooting
Where are the Move up in stack and Move down in stack buttons?
They show only on the selected row, the row under your pointer and the row with keyboard focus. Select the layer or hover over its row. While a search is active they are greyed out (see above).
Why can't I reorder layers?
Look at the Search layers field. While a search is active (the box contains something other than spaces) the drag handles and the Move up in stack and Move down in stack buttons are disabled, with the note "Clear the search to reorder layers" (the note shows when something matches). Click the ✕ (Clear search) button or press Escape in the field, then reorder.
I can't expand or collapse a container
The expand and collapse arrow (▾) on a container row is greyed out while a search is active (the Search layers box contains something other than spaces). Hover over it to read "Clear the search to expand or collapse layers". Click the ✕ (Clear search) button or press Escape in the field, then use the arrow.
A layer I know exists is missing from the list
If a search is active (the Search layers box contains something other than spaces), only matching layers and the containers around them are listed, and a section with no match is hidden entirely. Clear the search to see the whole tree. The search matches a layer's name and its kind label only, not the text written inside an element, so a paragraph is found by typing text or the name you gave it, not by a word from its content.
The selection path bar is not there
The bar is hidden while you are in Preview, because Preview shows the page as visitors see it. Click Exit Preview to bring it back.
The selection path stops at the page, with no section crumb
A section crumb appears only while a section or an element is selected. With nothing selected the bar shows just the page crumb. Click an element or a section row in the Layers panel and the rest of the path appears.