bricks_apply_class_to_element
Manage global CSS classes on page elements by applying or removing them, supporting both single and bulk operations for any page.
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" }] |