I have two slides in my slideshow. First one has all elements like text, outline button, etc in Black. For the second slide I want to make all elements in White. I’ve tried creating a new color scheme, but it doesn’t work. Why is it not changing? So then I thought, maybe I can add code, but I have no idea where or how or what to add.
Can anyone help?
I believe your theme is Dawn and unless there are some custom CSS applied, the color of textual content on the slide should be controlled by Slide block setting Layout-> Color Scheme.
Hi @JCaloBC ,
This happens because most Shopify slideshow sections use ONE color scheme for the entire section, not per slide.
So even if you create a new color scheme, the slideshow doesn’t apply it slide-by-slide - it only reads the section’s scheme once.
That’s why your second slide stays black.
Add a conditional class to the slide:
<div class="slideshow__slide {% if forloop.index == 2 %}slide--white{% endif %}">