Nivo slider transition

Nivo slider transition

August 11, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Nivo slider transition

Configuring the Nivo Slider for Your Magento Homepage

If you’re facing challenges with configuring the Nivo Slider on your Magento homepage to achieve a specific slide transition effect, you’ve come to the right place. Let’s dive into how you can customize your slider to have slides that slide in from the right, appear on the screen for 3 seconds, and then slide out to the left continuously.

Understanding Your Current Setup

Currently, your Nivo Slider is likely displaying a variety of random effects because the default settings apply all available transitions. This is why you’re seeing various animations instead of the single effect you desire.

The JavaScript code powering the Nivo Slider is quite extensive as it handles many functionalities out-of-the-box. You can find this code in your theme’s files or, in some cases, it may be integrated via an extension’s configuration.

Customizing the Slide Transition

To achieve the desired transition effect where slides slide in from the right, appear for 3 seconds, and then slide out to the left continuously, we need to make specific alterations to the Nivo Slider settings.

Step 1: Locate Your Theme Files or Extension Configuration

First, you’ll need to locate where the Nivo Slider is being called and configured within your theme files. This could be in the homepage template (index.phtml) or within an extension’s configuration file if one was used for installation.

Look for lines that contain references to the Nivo Slider script. It may look something like this:

<script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider({
            // Config options here
        });
    });
</script>

Step 2: Modify the Configuration Options

Within the configuration options, we need to specify which transitions we want to use and how they should behave. We’ll set “sliceDownRight” as our transition effect since it slides from right to left.

<script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider({
            slices: 15,
            boxCols: 8,
            boxRows: 4,
            animSpeed: 600, // Slide animation speed (default is 600ms)
            pauseTime: 3000, // Pause between slides (default is 3000ms)

            directionNavHide: true, // Hide the next/previous buttons
            controlNavThumbs: false, // Hide the thumbnails

            manualAdvance: true, // Enable manual advancement
            effect: 'sliceDownRight', // Set the desired transition effect

            prevText: '<i class="fa fa-chevron-left"></i>', // Previous button text
            nextText: '<i class="fa fa-chevron-right"></i>'  // Next button text
        });
    });
</script>

Step 3: Adjust Timing for Each Slide

To ensure each slide appears on the screen for exactly 3 seconds before transitioning, we’ve already set pauseTime to 3000ms (which is equivalent to 3 seconds).

If you want to reduce or increase this duration, simply adjust the value of pauseTime. For example, to make slides appear for only 2 seconds:

pauseTime: 2000,

Final Thoughts

Configuring the Nivo Slider to achieve a specific transition effect requires careful modification of its JavaScript settings. By following the steps outlined above, you should now be able to configure your Nivo Slider to have slides that slide in from the right, appear on the screen for 3 seconds, and then slide out to the left continuously.

Remember, the exact location of these configuration options may vary depending on how the slider was integrated into your theme. If you’re still having trouble locating the correct files or making the necessary changes, don’t hesitate to reach out to our Laravel Company support team for assistance.

Happy coding!

Extensions Themes Configuration JavaScript

Our network