Chapter 5. Tutorial: Build a Fast Hero Slider

Step 5: Add the Heading, Text and Button

  1. Type a short Heading, such as Fresh bread every morning, and one or two sentences of Text.

  2. Type the button's words in Button Label, such as See our menu, and the page it should open in Button URL. The button appears only when it has a URL.

  3. To style the button like the rest of your site, type your template's button classes in Button Class. For Joomla's Cassiopeia template, use btn btn-primary.

  4. Choose a Content Style that keeps the text readable over your image. Dark Box and Gradient work with white text over most photos.

  5. Under Alignment, choose where the content sits: Horizontal left, centre or right, and Vertical top, centre or bottom.

  6. Click Save Slide. A message tells you the image is being optimized, which can take up to a minute. Keep the panel open until it closes.

The slide appears in the Slides panel with a status badge. It should say Optimized. If it says Pending or Failed, see Q: .

Note

On phones, SwiftSlider always places a dark overlay behind the content, whatever content style you chose, so the text stays readable on a small screen.