What is the slideshow section?
This section displays up to five images in a slideshow format. It can be useful in advertising key products or services by using a combination of images, text and buttons. It can be set to either auto rotate or to display a static image until the customer manually advances the slideshow.
How to set up the slideshow section
- Open the Theme Editor and add the Slideshow section to the page.
- Click Add Slide or use one of the two Slideshow blocks that are present upon install.
- In the main LAYOUT settings, there are three Image height settings available
Height of first image: All images will be the same height as the first image.
Fixed height: The slider can be used to select a specific px height.
Full screen height: The image will take up the full height of the screen, excluding the space occupied by the header.
- Also in the LAYOUT settings the Show text below image on mobile can be selected to differentiate the viewing experience for mobile users.
In the ACCESSIBILITY / SEO settings, there are several options available.
The Show pause button will show a button which allows users to stop the slideshow from auto-rotating.
The Slideshow description can also be added, which is hidden text that will be read out by screen readers and will describe the content of the slides.
How to improve speed scores
In order to maximize the speed scores in Enterprise, the section can be loaded without animations. To do this, in the ACCESSIBILITY / SEO settings, tick the Load the section without animation setting.
In addition, having a separate Mobile image as each slide image could also improve the page loading speed. Refer to our Performance guide for more.
Why is my image being cropped?
By it's nature, a slideshow contains several different images, all of which are shown in the same sized space. You may find that you can set up your slideshow such that the first image displays perfectly, but if subsequent images have different dimensions - parts of the images will be cropped.
This is best illustrated below:
The best chance to avoid this is to set the Image height to the Height of first image, and then make all images within the slideshow the same dimension.
To read more about aspect ratios, refer to the Shopify Understanding image aspect ratio guide.
Focal points may also affect image cropping. Focal points allow you to choose the part of the image which should remain in view, no matter what the screen size. This means that parts of the image may be cropped to ensure that the focal point remains visible. Read Shopify's Focal points guide for more on this.