bricks_set_page_css
Sets custom CSS for any page or post via Bricks Builder, storing it in page meta for targeted styling.
Instructions
Set custom CSS for a page (stored in _bricks_page_css_2 post meta).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site key for multi-site support. Available: main. Defaults to "main". | |
| post_id | Yes | The page/post ID | |
| css | Yes | CSS code to set for the page | |
| post_type | No | Post type slug. Use "pages" for pages, "posts" for posts, or any registered CPT slug (e.g., "product", "portfolio"). Defaults to "pages". |