Disable Divi Post Slider Module "Slide In" Effect

Written by Dan Mossop

When you load a page using the Divi post slider module, it animates the title, description, and button for the first post by having them slide in and fade up simultaneously. While this effect can be visually appealing, some users may prefer a static appearance without these animations.

If you want to disable the "slide in" effect on the Divi post slider module, you can do so by adding a simple CSS snippet.

How to Disable the Post Slider "Slide In" Effect using CSS

To stop the animation and achieve a static appearance, follow these steps:

1) Navigate to your WordPress Admin Dashboard.

2) Go to Divi > Theme Options > General > Custom CSS.

3) In the Custom CSS box, paste the following code:

.et_pb_post_slider .et_pb_slide_description {
       -webkit-animation-duration: 0s !important;
       animation-duration: 0s !important;
}

The code disables the animation by setting its duration to 0 seconds. Using !important ensures that this rule overrides any other CSS rules that might conflict.

This customization ensures that the Divi post slider module's title, description, and button do not animate or slide in when the page loads, providing a static and immediate presentation of content.

Supercharge Your Divi Posts with AI-Driven CTAs

Optimize your Divi blog with WP Magic CTAs. This AI-powered plugin crafts tailored call-to-actions for each post, enhancing engagement and boosting conversion rates with minimal effort. Perfect for promoting new offers, expanding your email list, and guiding traffic seamlessly.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

We may earn a commission when you visit links on our website.