Themes & Styling

Built-In Themes

Theme Slug Description
light White background, dark text. Suits light-coloured themes.
dark Dark navy background, light text. Great for dark-mode stores.
blue Blue accent with white background. Classic and professional.
green Green accent, natural feel. Suits health, food, or eco stores.
purple Rich purple tones. Works well with fashion and lifestyle brands.
orange Bold orange accents. High-contrast and energetic.
red Red accent. Strong visual impact.
teal Teal/cyan. Fresh, modern palette.
slate Cool grey tones. Minimal, versatile.
rose Warm pink/rose. Elegant and feminine.
indigo Deep indigo. Technical and trustworthy.
emerald Bright emerald green. Fresh and modern.
amber Warm amber/gold. Luxurious feel.

Automatic Dark Mode

When Dark Mode Auto-Detection is enabled in the Display settings, the plugin listens to the prefers-color-scheme: dark media query. If the visitor’s device is in dark mode, the accordion automatically switches to the dark theme regardless of which theme you’ve selected — no extra configuration needed.

CSS Custom Properties

Every theme is built on CSS custom properties. You can override them globally or per-instance in your theme’s Custom CSS / Additional CSS field.

Property Description
--wca-bg Accordion background colour.
--wca-bg-hover Item hover background.
--wca-bg-active Active / open item background.
--wca-text Category label text colour.
--wca-text-active Active item text colour.
--wca-icon Toggle icon colour.
--wca-hover Hover accent colour.
--wca-active Active accent colour (left border, text).
--wca-border Item border / separator colour.
--wca-radius Border radius for items.
--wca-font-size Base font size.
--wca-indent Indent per nesting level.

Overriding with Custom CSS

Add your overrides to Appearance → Customize → Additional CSS (or your theme’s style.css). Target the .wca-accordion wrapper to scope changes:

.wca-accordion {
  --wca-bg: #ffffff;
  --wca-active: #e63946;
  --wca-text: #1d3557;
  --wca-border: #f0f0f0;
  --wca-radius: 8px;
}

Per-Instance Override

To style only a specific accordion instance, use the Gutenberg block’s Additional CSS class(es) field to add a unique class, then target it in your CSS:

.wca-accordion.my-shop-sidebar {
  --wca-bg: #0f172a;
  --wca-text: #e2e8f0;
  --wca-active: #38bdf8;
}

Code Snippets

Override theme colours with CSS custom properties CSS
.wca-accordion {
  --wca-bg: #ffffff;
  --wca-active: #e63946;
  --wca-text: #1d3557;
  --wca-border: #f0f0f0;
  --wca-radius: 8px;
}
Per-instance override with custom class CSS
.wca-accordion.my-shop-sidebar {
  --wca-bg: #0f172a;
  --wca-text: #e2e8f0;
  --wca-active: #38bdf8;
}

Frequently Asked Questions