Governed ability

Update Avada page CSS

aafm/avada-update-page-cssGuarded write

Update Avada page CSS is a governed ability in Agent Abilities for MCP, a free WordPress plugin that runs an MCP server on your site.

Sets the custom CSS of one Avada page, layout section or library item, the CSS field of Avada's builder settings for that page. The value given replaces the page's existing CSS, and an empty string removes it; previous returns the old CSS, which is the way back; previous_restorable is false when the earlier CSS holds a form this tool refuses, so it cannot be sent back. CSS that holds markup is refused, as WordPress refuses it in custom CSS, and so is a "<" or a percent-encoded sequence such as %20, which Avada rewrites or removes when it prints page CSS; any other CSS is stored exactly as sent. A value equal to what is stored is left alone and changed is false. No revision is kept, and the change is not undoable from this plugin's change history. Requires edit access to the post and a user who may post unfiltered HTML; Avada's Role Manager is not applied. Only while Avada is active.

How it is governed

The same model as every ability in the plugin, stated for this one.

  • Off until you enable it

    Like every ability, Update Avada page CSS ships switched off. You turn it on one at a time, and an update never switches on a tool it serves.

  • Guarded write

    Writes stay conservative, and the plugin re-checks the capability before the call runs.

  • Capability gated

    A connection only sees Update Avada page CSS if the user you connected can run it, and the plugin checks that capability again before it executes.

  • Every call audited

    The call is written to the log in your own database, denials included, with the argument keys and the identifiers it touched, never free-text content.

Update Avada page CSS is one of the 18 governed Avada abilities. See the full Avada MCP integration.

See it in action

An illustrative run. Your real calls and data stay on your own site.

agent-abilities · auditGoverned
YouUpdate Avada page CSS on this site.
RunRunning aafm/avada-update-page-css
GateAllowedcapability re-checked before running
Auditaafm/avada-update-page-css · principal: editor · args: post_id
ResultApplies the change, then writes the call to the audit log.

Try it with a prompt

Example requests you could paste to your agent.

  1. Set the custom CSS of page 41 to hide the second divider.
  2. Clear the page CSS on page 41.

These are illustrative example prompts. The agent runs them as the user you connected, checked against that user's capabilities and written to your audit log.

Frequently asked

Short answers for Update Avada page CSS.

How do I get the old CSS back?

The response returns previous, the CSS that was there, and sending it back restores it. previous_restorable is false when the earlier CSS holds a form this tool refuses. No revision is kept.

What does it need?

Edit access to the post and a user who may post unfiltered HTML. CSS holding markup, a < or a percent-encoded sequence is refused.

Back to all abilities

Governed by default, from the first call.

Update Avada page CSS is off until you enable it, scoped to the user you connect, and logged like everything else. Turn on only what you need.

Every ability off until you enable it, capability-gated on every call.