Debug Container Layout
elementor_get_layout_debugInspect a container's flex settings and child width, direction, overflow, margin, and padding values, with mobile variants, in a compact table to debug layout and spacing issues.
Instructions
For a container element, show its flex layout settings and all children's layout properties (width, flex_direction, overflow, margin, padding + mobile variants) in a compact table format. Perfect for debugging flex layout, overflow, and spacing issues.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"postId": "<postId>",
"containerId": "<containerId>"
},
"name": "elementor_get_layout_debug"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | WordPress post/page ID | |
| containerId | Yes | Container element ID |