Fri. Apr 25th, 2025

27. Magento. How to turn off/on slider autoplay

1 min read
  1. Log into your Magento admin panel and navigate to CMS > Static blocks:
    Magento_How_to-_turn_off_on_slider_autoplay
  2. Choose slider block in the list of available blocks. It is usually called Slider, but the title may be different.

    Please note that some templates may have slider code in the Home page content, not in the static block. You will need to navigate to CMS > Pages and choose Home page to edit the code:

    Magento_How_to-_turn_off_on_slider_autoplay_1

  3. Open this link in the browser Options and callbacks.
  4. Locate jQuery(function) code in the static block:
    Magento_How_to-_turn_off_on_slider_autoplay_2
  5. You should copy autoAdvance: true, (to turn on autoplay) or autoAdvance: false, (to turn off autoplay) from the link with callbacks and paste it to static block inside jQuery(function):

    Magento_How_to-_turn_off_on_slider_autoplay_3

  6. Click Save block button to save changes:
    Magento_How_to-_turn_off_on_slider_autoplay_4
  7. Refresh your Home page to see changes on the website.
April 2025
M T W T F S S
« Jun    
 123456
78910111213
14151617181920
21222324252627
282930