Hi, how can I remove that sliding animation from the slideshow when switching to the next image? I just want it to switch instantly without any transition effect.
Yes, can be done. However, it’s not a CSS transition, so would need to use JS.
Create a “Custom Liquid” section at the bottom of the page and paste this code:
Basically all this is done to add a single line behavior: “instant”.
Note that this may affect other sections which use the same slideshow-component, this is why I did not recommend editing global.js to simply add this line to original code…
(and also I prefer to not use theme code for the sake of update-ability)
To remove the sliding animation from the slideshow and make the images switch instantly without any transition effect, you’ll need to tweak the CSS and JavaScript for the slideshow.
Here’s how you can do it:
Steps to Remove the Slideshow Animation:1. Go to your Shopify admin panel
Click Online Store > Themes
Click Actions > Edit Code
Open Assets/theme.css or Assets/base.css (depending on your theme)
Why this works> Dawn’s slideshow relies on a CSS transition to slide images smoothly. By overriding that transition setting in your Custom CSS, you tell the browser to skip the animation entirely, so each slide appears immediately.