However, If you put any elements into the Container, they will scale with the effect. You can put another Container below it, containing some elements, position: relative, bottom: 50% and the elements wonāt scale with the effect.
You can download a section template here on this demo page:
How do you mean? It does work for every slide in the slider.
Can you doublecheck your CSS? There has to be an issue on your end cause for me it definitely works! I“ve used this method on 2 different sites already and it works on both so I can 100% confirm that the shared method works perfectly!
No, it only works on the first slider. Or I should say: the first slider that is in the viewport. When you set to display 3-4 sliders, only the first slider has the effect.
I guess this is just a communication problem⦠In your post from 11 days ago you wrote:
Nice effect! I noticed it doesnāt work when youāre displaying more than 1 slide in the slider; only the first item gets the effect.
and I wrote that it DOES indeed work for every slide in the slider, which is correct!
Testsite:
The first slider on that page has a total of 9 slides and the effect DOES work for all 9 slides.
However, what I CAN confirm is that it doesn“t work if you have multiple Slider (NOT Slides!) on the Website. THEN the first Slider only gets the effect.
So Slider ā Slide!
Edit:
It seems that the Ken Burns effect works properly for multiple Slider when you add the adjustments to the Custom CSS of the page rather than the Custom CSS of the individual sliders.
Hereās the working code I used:
/* Ken-Burns effect for the first slider */
@keyframes kenburns1 {
0% {
transform: scale(1) translate(0, 0);
transform-origin: 84% 84%;
}
50% {
transform: scale(1.25) translate(20px, 15px);
transform-origin: right bottom;
}
100% {
transform: scale(1) translate(0, 0);
transform-origin: 84% 84%;
}
}
/* Applying the Ken-Burns effect to the first slider */
%root% .is-active .slide-content {
animation: kenburns1 60s ease-out both;
animation-iteration-count: infinite;
position: relative;
}
/* Ken-Burns effect for the second slider */
@keyframes kenburns2 {
0% {
transform: scale(1) translate(0, 0);
transform-origin: 50% 50%;
}
50% {
transform: scale(1.25) translate(-20px, -15px);
transform-origin: left top;
}
100% {
transform: scale(1) translate(0, 0);
transform-origin: 50% 50%;
}
}
/* Applying the Ken-Burns effect to the second slider */
#brxe-cpyqyc .is-active .slide-content {
animation: kenburns2 60s ease-out both !important;
animation-iteration-count: infinite;
position: relative;
}