WordPress / API Reference
elementor_set_element_background
Elementor tool. Set background on any Elementor element — color, image, gradient, or video
This is a write tool: it sets element background in your WordPress account. Claude asks you to confirm before it runs.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Set element background in my WordPress account for [page id], [element id].
It takes 2 required and 16 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | integer | Yes | Page Id |
element_id | string | Yes | Element Id |
page_type | string | No | Page Type |
background_type | string | No | Background Type |
color | string | No | Color |
image_url | string | No | Image Url |
image_id | integer | No | Image Id |
image_position | string | No | Image Position |
image_repeat | string | No | Image Repeat |
image_size | string | No | Image Size |
image_attachment | string | No | Image Attachment |
gradient_angle | integer | No | Gradient Angle |
gradient_color_a | string | No | Gradient Color A |
gradient_color_b | string | No | Gradient Color B |
gradient_color_a_stop | integer | No | Gradient Color A Stop |
gradient_color_b_stop | integer | No | Gradient Color B Stop |
video_url | string | No | Video Url |
video_fallback_url | string | No | Video Fallback Url |
Related WordPress tools
elementor_set_element_background_overlayelementor_set_element_animationelementor_set_element_attributeselementor_set_element_blend_modeelementor_set_element_borderelementor_set_element_box_shadow
Start free — 30 tool calls a month
No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.