The Divi slider module allows you to add content sliders to your Divi website. The module allows you to add text, images, and videos to your slides that can be controlled via left & right navigation arrows or dot navigation. As with all Divi modules, there are settings to cover all elements of the slider.
Change your Divi slider module slide transitions
The default Divi slider transitions (as seen in example 1 below) is for the text content and button to fade/slide up from the bottom and the slider image fading/sliding from the left.
By adding any of the following CSS code into your Slider modules Custom CSS boxes in the Advanced tab for SLIDE DESCRIPTION (.et_pb_slider .et_pb_slider .et_pb_slide_description) and SLIDE IMAGE (.et_pb_slider.et_pb_slider .et_pb_slide_image), you can change the slider content transitions. You can add a single transition type to 1 or both of the image and description boxes and they can be the same or different.
[php]animation-name:fadeIn; animation-name:fadeTop; animation-name:fadeLeft; animation-name:fadeRight; animation-name:fadeBottom; animation-name:fadeInTop; animation-name:fadeInLeft; animation-name:fadeInRight; animation-name:fadeInBottom; animation-name:flipInX; animation-name:flipInY;[/php]
If you are using the slider module you may also be interested to learn how to change the Divi slider height using the inbuilt module settings.
1. Default Divi Slider animations
2. Custom animation to Fade In Left
CSS code added to the Module settings;
SLIDE DESCRIPTION CSS Box – animation-name:fadeInLeft;
SLIDE IMAGE CSS box- animation-name:fadeInLeft;
3. Custom animation to Flip In X
CSS code added to the Module settings;
SLIDE DESCRIPTION CSS box – animation-name:flipInX;
SLIDE IMAGE CSS box – animation-name:flipInX;
4. Custom animation to Fade In Left + Fade In Right
CSS code added to the Module settings;
SLIDE DESCRIPTION CSS box – animation-name:fadeInLeft;
SLIDE IMAGE CSS box – animation-name:fadeInRight;
very cool! Can you mix and match them? Can you have 2 going on at once. Can you edit the duration and intensity at all?
yes, the demos on the page show this. duration and intensity I think would mean digging into the theme files.
FYI
-webkit-animation-duration: 2s;
-moz-animation-duration: 2s;
-ms-animation-duration: 2s;
-o-animation-duration: 2s;
animation-duration: 2s;
-webkit-animation-delay: 4s;
-moz-animation-delay: 4s;
-ms-animation-delay: 4s;
-o-animation-delay: 4s;
animation-delay: 4s;
How to make the image static and text with some animation. i want to display animation only on text, image should be static.
Can anyone share the code for above query ask d by Mr. Asif Khan.
And I juts want to know can we slide title from right and description from left or bottom etc I mean all three sub controls title description and image has to animate with different effects. Is that possible Mr. CRAIG ???? THIS IS REALLY IMPORTANT TO US PLEASE. DONT IGNORE, THANK YOU RALLY HOOD WORK.;-)
animation-name:none; seems to work when added to the image CSS box
Love it!!!
is there a way to modify the slide transitions?
do you mean the speed? if so, i dont think so. not seen any solutions for this, but assume it can be done by editing the right core theme file
It looks like your slider examples all use the same animation now. I’m assuming this CSS doesn’t work anymore.
the demos all show the different animations as they should for me.
Great tutorial love the slide in effect thank you
glad you like it! and I assume it still works ok
The slider animation works but when it transfers back to the first slide the default original animation is use, how do I make it so the custom animation is used throughout the whole slide.
it seems to continue as in the examples above? yours do not work like this?
I understand what you mean. You mean the slide itself – the whole background image. I don’t think that is possible with the above code, which only affects the elements ‘on top’ of the slide.