Navigation

ThemeWare® Manual

Hero slider

Choose between the available slider blocks, learn how to add one and why autoplay is disabled for accessibility reasons.

The ThemeWare® "Hero slider" blocks are CMS blocks that have to be filled with the corresponding slider CMS elements. Other CMS elements do not work in the Hero slider.

The slider blocks therefore have special CMS elements.


Available "Hero slider" blocks


Add "Hero slider" block

Select a CMS block and simply drag and drop it into your Shopping Experience.

Note: You can find the "Hero slider" in the category "ThemeWare® General" [Pro]

Adding a "Hero slider" CMS block


Autoplay and accessibility

The "automatic transition" (autoplay) is disabled (from version 3.7 or 4.0) due to accessibility concerns. You can enable this feature via the theme configuration "Automatic transition (autoplay)", see Accessibility.

Accessibility concerns: Enabling this feature may make parts of your storefront inaccessible to users with disabilities. This may result in non-compliance with accessibility laws applicable in your jurisdiction (e.g., the European Accessibility Act).

Please note: By enabling this feature, you acknowledge this risk and accept full responsibility.


CSS classes

In the block settings you can define CSS classes for the respective CMS block.

Because the ThemeWare® "Hero slider" (from ThemeWare® 2.0) is based on the Bootstrap 5 carousel (documentation), the following CSS classes are particularly interesting:

Crossfade

Add the CSS class carousel-fade to the block to animate slides with a fade transition instead of a slide.

Dark controls

Add the CSS class carousel-dark to the block to make the controls darker.

Flat controls

The controls of the "Hero Slider" have a drop shadow for optimal visibility. This is especially helpful if the colour of the images in the slider varies significantly. If you don't want the drop shadows, simply add the CSS class flat-controls to the corresponding block.

Note: With "Navigation arrows in the hero slider" = "inherit (theme configuration)", the hero slider uses the arrow configuration of the image slider or the global slider configuration, see Sliders.


Demos

You can find some examples of use in our demo shops:

ThemeWare® Demoshop => Hero sliderdemo.themeware.design/modern/en/Features/CMS-elements-blocks/Hero-slider

Last updated on

More from ThemeWare®: About ThemeWare® · Demoshops · Knowledge base · Video tutorial · Utilities

This page online: https://docs.themeware.design/additional-features/cms-extensions/cms-blocks/hero-slider · ThemeWare® Service Portal, service.themeware.design