ES Content Display documentation Styling & CSS Customization
ES Content Display keeps appearance controls intentionally small and composable. Three independent settings can be combined:
Style Preset + Color Scheme + Motion
For example:
Soft Surface + Dark + Subtle
Minimal Separators + Grey + None
Default + Custom + Smooth
Style Preset
Open:
Appearance → Style Preset
Available presets:
- Default / Template-friendly — neutral baseline.
- Soft Surface — rounder corners and a subtle shadow.
- Minimal Separators — flatter presentation with minimal card treatment.
The Style Preset controls geometry and surface treatment. It does not replace the selected Color Scheme.
Color Scheme
Open:
Appearance → Color Scheme
Available schemes:
- Inherit Template — default and safest option for third-party Joomla templates.
- Light — light neutral surfaces and dark text.
- Dark — dark surfaces, light text and a blue accessibility-friendly accent.
- Grey — neutral grey surfaces.
- Custom — expose a small set of color controls.
Custom colors
Custom mode provides:
- Background / Surface
- Text Color
- Muted Text
- Border Color
- Accent Color
- Hover Background
- Active Background
The Accent Color is used for focus indicators, selected tabs, open accordion borders and active A–Z controls.
Motion
Open:
Appearance → Motion
Available motion modes:
- None
- Subtle — Recommended
- Smooth
- Custom
Subtle is the default.
What is animated
- Accordion and FAQ: slide + fade when panels open or close.
- Horizontal and Vertical Tabs: fade + small vertical translate when a panel becomes active.
- Directory Search / A–Z: lightweight fade when items enter or leave the filtered collection.
- Existing icon/active-state transitions share the same motion timing.
Custom motion
Custom mode exposes:
- Duration: 80–800 ms
- Easing: Ease out, Ease in/out, Standard, Expressive / smooth or Linear
ES Content Display validates these settings and does not inject arbitrary timing-function CSS from module parameters.
Reduced motion
Visitor preferences always take priority.
When the browser reports:
prefers-reduced-motion: reduce
ES Content Display automatically reduces non-essential motion to effectively zero, even if the module is configured for Smooth or Custom motion.
Custom CSS Class
Use:
Advanced → Custom CSS Class
to add one or more class names to a specific module instance.
CSS variables
The module exposes variables including:
--es-cd-border-width
--es-cd-border-radius
--es-cd-spacing
--es-cd-focus-width
--es-cd-border-color
--es-cd-surface
--es-cd-surface-hover
--es-cd-surface-active
--es-cd-accent
--es-cd-muted
--es-cd-shadow
--es-cd-motion-duration
--es-cd-motion-easing
--es-cd-motion-distance
Example:
.my-help-directory {
--es-cd-border-radius: 0.75rem;
--es-cd-spacing: 1.25rem;
--es-cd-accent: #0066cc;
--es-cd-motion-duration: 200ms;
}
No free-form CSS parameter
ES Content Display does not accept arbitrary CSS through module parameters. Advanced overrides belong in the Joomla template/custom stylesheet.