Slideshow

Theme section

Theme retirement | Context is no longer available on the Shopify theme store. Theme support and updates for current users will end after May 18, 2024. Learn more here.

The Slideshow displays auto-rotating slides to showcase your product images. You can fine-tune how your images look, all slide headings and colors, and add a mobile-specific image for the best experience across all devices.

Set up section

Add this section to any template (except Checkout) and use the drag-and-drop handles to re-order its position. You can add this section multiple times with different content and settings.

Editing a template changes all pages that use that template. To edit specific pages, you can create new templates or insert dynamic content with metafields.

STEPS

In your theme editor (Customize):

  1. Select a Template to edit from the dropdown menu in the top bar.

    Learn how to use templates in our Templates guide.

  2. Under Template, click (+) Add section and select Slideshow.

  3. Click and hold the drag-and-drop handles ⋮⋮ to re-order your sections.

Add image slides

Add up to 8 slides with unique images, headings, buttons, and custom colors.

STEPS

In your theme editor (Customize):

  1. Click (+) Add slide and/or click on the Slide block to open the settings.

  2. Under Image, click Select image to upload and select your image file.

    There are no required images dimensions. We recommend images that are square (1:1) or landscape (3:2) (wider than tall) with a minimum width of 2500px for optimal quality across all devices.

  3. (Optional.) Under Mobile image, click Select image to upload and select an alternate slide image that will show only on mobile.

    You may want a different image that works best with mobile screen dimensions.

  4. Use Image focal points to specify the main focus of your images. The focal point of your image will remain centered and within frame when your site adapts to different screen sizes.

    See our Image settings guide to learn more about specifying a focal point for an image used within a section or for an uploaded image file when used anywhere on your site.

  5. (Optional.) Use the drag and drop handles ⋮⋮ to change the order of the slide blocks.

    Click the Remove block button in the block settings to remove a slide block entirely.

  6. Click Save.

Add slide headings

Add headings for your slides and change the text size and position.

STEPS

In your theme editor (Customize):

  1. Click the Slide block to open the settings.

  2. Change the Heading text.

    We recommended a short title of just a few words.

  3. Add Subheading text to display below the heading.

    We recommend two or three short sentences.

  4. Adjust the Max width of text of your headings using the slider.

    Experiment with this setting to find a clean visual shape for your text.

  5. Change the position of the slide content by using the Text alignment dropdown.

  6. Change the color of the Heading, Subheading, Button text and the Button background.

    We recommend using WebAIM's contrast checker when matching colors to make sure your text is clear and readable for everyone.

  7. (Optional.) Select an Overlay color to display overtop of the image and adjust the Overlay opacity using the slider.

    The Overlay lets you control the brightness and tone of images. Use this setting to balance it with other images and to increase contrast with headings so they're readable.

    Set the opacity to 0% to turn off the overlay color; set it to 100% to create a solid color slide with no image.

  8. Click Save.

Add call-to-action buttons

Link to your collections or products or any other page with a call-to-action button. Add Button text to display a button or leave this field blank to make the entire block a clickable link.

STEPS

In your theme editor (Customize):

  1. Click on a Slide block to open the settings.

  2. Select or paste a Link.

    Make sure you copy the full URL, including https:// at the start. For example: https://instagram.com/abc123.

  3. Add Button text to display a button underneath the headings.

    The entire slide will become a link if no Button text is added.

    The most effective button labels ask customers to do something (e.g. Get started, Join us, Shop now). To learn more, read "What is a Call to Action?".

  4. Change the Color for the Button text and Button background.

  5. Click Save.

Slideshow height (image cropping)

You can choose to display slides with the Original height of your uploaded images (without cropping) or set a Custom height for all slides (with cropping).

STEPS

In your theme editor (Customize):

  1. Click on the Slideshow section to open the section settings.

  2. Adjust the Height and Mobile Height of your slide images between 50% to 100% of the maximum height.

    When Custom height is set to 50%, the slideshow will always display at half the height of the customer's screen or window height.

  3. Click Save.

Slide autoplay

By default, multiple slides will auto-rotate. You can change the time between slides from 2 to 10 seconds. Set the slider to 0 seconds to turn off autoplay.

**Tip |** Turning off autoplay can make your online store accessible to more customers, including people with disabilities. Learn more about [accessibility for themes](Accessibility ) to help make the web inclusive and usable for everyone.

STEPS

In your theme editor (Customize):

  1. Click on the Slideshow section to open the section settings.

  2. Click and drag the slider to select the number of seconds to display each slide (between 2 and 10 seconds).

    Select 0 seconds to turn off autoplay, so visitors can click and drag (or swipe) through each slide on their own.

  3. Click Save.

Enable parallax

The Parallax makes it look like the image and text have depth as customers scroll.

STEPS

In your theme editor (Customize):

  1. Click the Slideshow section to open the settings.

  2. Check the Enable parallax option.

  3. Click Save.

Settings reference

SettingDescription

Height

The height of the mobile slideshow as a percentage of the screen height. Your image will be cropped to match the height. If the custom height is 100%, the slideshow will expand the full height of any screen.

Time between slides

Select the number of seconds each slide is shown before rotating.

Click on the Slide blocks to find the following settings:

SettingDescription

Image

There are no required images dimensions. We recommend images that are square (1:1) or landscape (3:2) (wider than tall) with a minimum width of 2500px for optimal quality across all devices.

Mobile image

Add alternate image to displayed only on mobile devices

Image focal point

Select the Image focal point to control what part of the image to center within the slide. Use the focal point to make sure the key part of your image or video won't be cropped when it overflows the size of the block.

Mobile image focal point

Select the Media focal point to control what part of the image to center within the slide.

Heading

Add heading text to display as the slide title.

Subheading

Add subheading text to display below the heading.

Text max width

Use the slider to control the maximum width and line breaks of the section headings.

Link

Select or paste a link for the button or slide.

Link text

Add custom text for your call-to-action button.

Link style

Choose to display the link as a Link with arrow or Button.

Text alignment

Position the Heading, Subheading, and Button to one of nine quadrants of the block.

Text color

Choose the color of the slide text.

Overlay color

Select the color to overlay the image.

Overlay opacity

Use the slider to adjust the transparency of the overlay color.


Related links

Full width image Image with text Mosaic grid

Last updated