/divi5-toolkit:selector <module-or-element>from divi5-toolkit
Looks up CSS selectors for Divi 5 modules and sub-elements, returning wrapper class, inner selectors, override pattern, Free-Form CSS equivalent, and builder-setting alternatives.
Ships in divi5-toolkit. Installing the plugin adds it to Claude Code.
You are answering one question fast: what do I target to style X in Divi 5? No preamble, no long explanations — a selector card the user can paste from.
Read .claude/divi5-toolkit.local.md if it exists:
css_prefix: my # used in the example custom class
divi_version: "5.13" # warn if the module is newer than the project's version
Defaults: my and the newest version this plugin documents.
Search these sources in order (all under ${CLAUDE_PLUGIN_ROOT}/skills/):
divi5-css-patterns/references/divi-selectors.md — primary selector tables (structural, content, forms, 5.6–5.11 modules, Free-Form patterns).divi5-css-patterns/examples/new-modules.css — inner markup trees for Timeline, Breadcrumbs, SVG, TOC, Instagram Feed, Tooltip, Post Filter, Gravity Forms, Charts, Payment Button.divi5-css-patterns/examples/woocommerce.css — Woo product grid, cart, checkout selectors.divi5-css-patterns/examples/forms.css — form field, checkbox, radio, CF7 Styler selectors.divi5-css-patterns/SKILL.md "Common Divi Module Selectors" — fallback.Match loosely: "blurb heading" → Blurb .et_pb_blurb + h4.et_pb_module_header; "accordion open" → .et_pb_toggle_open; "add to cart" → .et_pb_wc_add_to_cart / .single_add_to_cart_button. If the query matches more than one module, show the best match and list the alternatives in one line. If nothing matches, say so and give the generic DevTools recipe (Step 4) — do not invent a class name.
.et_pb_button, Payment Button, Woo add-to-cart, form submit): the override MUST use body prefix + !important on every property..et_pb_* modules: scope with a custom class (.et_pb_blurb.{prefix}-feature) and add !important only for properties Divi sets inline..et_pb_text_0, .et_pb_section_1_tb_header): never recommend. Show the custom-class alternative instead.divi_version (Tooltip 5.8, Post Filter 5.10, Charts / Gravity Forms / Imagely Gallery / Payment Button 5.11), say so in one line.Check the Composable Settings table in ${CLAUDE_PLUGIN_ROOT}/skills/divi5-compatibility/SKILL.md — if the user's likely goal (hover color, border, spacing, aspect ratio, focus state, gradient text, grid layout, tooltip, align-items) has a builder-native path, include it under BUILDER INSTEAD.
SELECTOR: [Module name] — [sub-element]
WRAPPER .et_pb_blurb
TARGET .et_pb_blurb .et_pb_module_header
ALSO .et_pb_blurb_content, .et_pb_blurb_description, .et_pb_main_blurb_image
OVERRIDE (Theme Options > Custom CSS)
.et_pb_blurb.{prefix}-feature .et_pb_module_header {
font-size: 1.25rem;
color: #1d1f22;
}
→ add class "{prefix}-feature" via Advanced > Attributes > class
FREE-FORM (module > Advanced > Custom CSS > Free-Form)
selector .et_pb_module_header { font-size: 1.25rem; }
BUILDER INSTEAD Title typography lives in Design > Title Text — no CSS needed for size/color.
SINCE Divi 5.0 (core module)
VERIFY [only for 5.8+ modules] Inner selectors observed, confirm in DevTools.
Substitute the real css_prefix. Keep the card under ~25 lines. If the user asked for several elements at once, output one compact card per element.
When nothing matches, output:
NO MATCH for "[query]"
Nearest: [up to 3 module names]
DevTools recipe: open the page on the frontend (not the builder), right-click the element → Inspect,
walk up to the nearest `.et_pb_*` wrapper, and use `.et_pb_<module>.{prefix}-<name> <inner>` as your selector.
/divi5-toolkit:generate for that.WebSearch; this command is offline by design. If the module is unknown to the plugin, recommend /divi5-toolkit:research.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
10 commands in this plugin
/auditPerform a comprehensive CSS audit across all project files. Scores overall Divi 5 compatibility, identifies patterns and anti-patterns, and produces an actionable improvement report with prioritized fixes./convertConvert existing CSS to Divi 5-compatible format. Fixes specificity issues, adds proper overrides, handles format wrapping, and supports Divi 4 to Divi 5 migration./diagnoseDiagnose a Divi 5 issue from a symptom, error, or "this isn't working" description. Routes to the right specialist (error-learner, validator, performance auditor, accessibility checker) and returns a root cause + fix./generateGenerate Divi 5-ready CSS for a component, section, or page element. Outputs in the format you specify (Theme Options, Code Module, Child Theme, or Free-Form CSS)./researchResearch the latest Divi 5 updates, features, CSS compatibility changes, and best practices. Updates plugin knowledge base with new findings./responsiveCheck that a Divi 5 page works across device sizes (small phones, iPhones, tablets, laptops, widescreen, ultrawide). Uses live viewport testing via a browser MCP server (Chrome DevTools or Playwright) when one is available; falls back to static CSS analysis when not.npx claudepluginhub cjsimon2/divi5-toolkit --plugin divi5-toolkitOther plugins' commands for the same job