The Layers tab in the Visual Editor is useful for identifying elements in your layout and accessing them within a list that shows their relationship to each other. Using the Layers tab you can:
- Identify any parent-child relationships between elements.
- Troubleshoot layout issues.
- Drag and drop elements for precise placement.
- Add blocks directly from the Insert tab.
- Add, move, delete, and rename elements.
- Note which layers have features such as an animation, action, data binding, or events.
- Search for a specific layer, such as some text, the type of element, or any name you gave the layer.
The following screenshot shows the Layers tab.
To rename a layer, open the Layers tab, double-click on the layer, and enter the new name. Name layers to represent what's inside to help you keep track of what each element does, and to find an element on a page if your page is long or complex. For long or complex pages, use the search to find layers by name or content.
Tip: In the Layers tab, Symbols are shown in purple.
If an element has features such as an animation, action, binding, or event, it will feature an indicator icon, as in the following example:
The following video illustrates how the Layers tab indicates actions and events on a Layer. It also shows some of the available options for actions, events, and animations.
You can select a block on the Insert tab, drag it to the Layers tab, and drop it wherever you like among the other layers.
To nest a block, hover the block over where you'd like to place it. Blue lines appear to show where you are placing the block and whether you're nesting it within another layer. If the new block is not where you want it, just drag it where it should be.
In the following video, the new Text block is nested inside the Columns block. You can test that by collapsing the Columns block and noting that the new Text block is then hidden in the list because it's inside the Columns block.
When you move a layer, you are changing the structure of your page. If an element inherits styles from its parent, and you move that layer out from under the parent, those parent styles no longer apply to that element.
Tip: If you unintentionally move a layer, you can undo it with Cmd
+ z
on a Mac and Ctrl
+ z
on a PC.
To do even more with your layout, visit: