bricks_apply_class_to_element
Add or remove global CSS classes on page elements. Supports both single element and bulk operations.
Instructions
Apply or remove global CSS classes on page elements. Supports single element or bulk operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page ID containing the element(s) | |
| class_id | No | Global class ID (for single operation) | |
| element_id | No | Element ID (for single operation) | |
| operations | No | Bulk operations: [{ element_id, class_ids: [...], action: "add"|"remove" }] |