30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Update Elementor Kit Settings

elementor/update-kit-settings merges new settings into the active kit, or a kit you name.

force_replace replaces the full settings object instead, which is almost never what you want.

At a glance

Abilityelementor/update-kit-settings
ToolsetElementor — toolset/elementor
GroupElementor › Kits & Global Styles
RequiresElementor, active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

One write, every page

A kit change is a site-wide restyle. Changing a global colour changes every element referencing it, on every page, immediately — which is the point of globals and also means there is no small version of this operation.

Merging is the default because a kit’s settings object is large and contains things that are easy to forget: breakpoints, form styling, the default content width. Replacing to change a colour would reset all of them.

Elementor generates a CSS file per post and caches it. A change to the document does not change the rendered page until that CSS is regenerated, which is why elementor/clear-cache is the second half of several operations here.

Kit CSS is regenerated site-wide rather than per post, so the effect is visible once that regeneration happens. elementor/clear-cache with site scope forces it.

Changing a global that many elements reference is the fastest restyle available and the hardest to undo by hand — there is no record of the previous value once it is written.

Idempotent.

Input

NameTypeRequiredWhat it is
settingsobjectYesThe kit settings to merge.
kit_idintegerNoWhich kit. Defaults to the active one.
force_replacebooleanNoReplace the whole settings object instead of merging.

What comes back

NameTypeWhat it is
kit_idintegerThe kit written.
settingsobjectThe settings afterwards.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Change our primary brand colour.

It resolves to one call:

{
  "ability": "elementor/update-kit-settings",
  "parameters": {
    "settings": { "system_colors": [{ "_id": "primary", "color": "#0f172a" }] }
  }
}

Worth knowing

  • Every element referencing a global changes at once.
  • Merge by default — replacing resets breakpoints and form styling too.
  • Read the current settings first; there is no record of the old value.
  • Clear the site-scope cache to regenerate the CSS.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading