All things Shopify and commerce
Hiii
I want to add slider effects option to fade in slideshow instead of slide Dawn 15V
Please help me how do i do this. Check the screenshot for the option
Store url: https://5a3cf5-fc.myshopify.com
hey @arnoldmattt
I am comfortable with coding , please tell me the codes, I will just add them.
To add a fade transition option in a slideshow instead of a slide transition in the Dawn 15V theme, you'll need to modify the theme's code. Here are the steps to do this:
Locate the Theme Files:
Find the Slideshow Code:
Modify the Transition Code:
Here's an example of how you might make this change:
Locate the HTML or Liquid code for the slideshow:
<div class="slideshow">
<div class="slide active">Slide 1</div>
<div class="slide">Slide 2</div>
<div class="slide">Slide 3</div>
</div>
Add or modify the CSS to support fading:
.slideshow {
position: relative;
}
.slide {
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.slide.active {
opacity: 1;
}
Modify the JavaScript to handle the fade transition:
document.addEventListener("DOMContentLoaded", function() {
const slides = document.querySelectorAll('.slide');
let currentSlide = 0;
function showNextSlide() {
slides[currentSlide].classList.remove('active');
currentSlide = (currentSlide + 1) % slides.length;
slides[currentSlide].classList.add('active');
}
setInterval(showNextSlide, 3000); // Change slide every 3 seconds
});
This example uses CSS for the fade effect (opacity and transition) and JavaScript to handle the active class toggling.
I sent you the instructions. If you can't do it, you can message me for help @ctal37 .
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
@BSS-TekLabs can you do it? am a bit scared what if I mess the things a lot more
hey I tried adding but its not working maybe am adding wrong...
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025