API Reference

WordPress / API Reference

elementor_set_element_custom_css

Elementor tool. Set custom CSS code on a specific Elementor element (Elementor Pro 'Custom CSS' tab). CSS is scoped to the element's selector automatically.

This is a write tool: it sets element custom css 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 custom css in my WordPress account for [page id], [element id], [css].

It takes 3 required and 1 optional parameter.

Parameters

ParameterTypeRequiredDescription
page_idintegerYesPage Id
element_idstringYesElement Id
cssstringYesCss
page_typestringNoPage Type

Related WordPress tools

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.