Advanced
The Advanced tab holds the standard Joomla module fields.
- Layout: pick a template override or alternative layout
- Module Class: extra CSS class on the slider root, for example
hero-slider - Caching / Cache Time: the slide HTML is cached per menu item. Motion runs in the browser, so caching is safe
Styling with CSS
Every slider has the id rps-{moduleId} and the class mod-revealing-photo-slider. Your template can set CSS variables:
.mod-revealing-photo-slider {
--rps-accent: var(--template-color-primary, #1819ed);
--rps-radius: 0;
--rps-max-height: 70vh;
}
Template override
- Go to System > Site Templates > your template > Create Overrides.
- Click Modules > mod_revealing_photo_slider.
- Edit
html/mod_revealing_photo_slider/default.php. Keep therps,rps__slide, andrps__imgclasses and thedata-reveal-sliderattribute.
Translations
Button and screen reader labels come from the language file, so they can be translated with a normal language override.