Cannot configure the timing on my CSS animations inside flexslider

Okay. Here's what I'm trying to do and have partially done.

I'm using Flexslider on individual pages on the site. Each page has a unique slider. On some of the individual slides there is a short transition, a fade in image.

I'm using Advanced Custom fields Repeater field, nested.

My problem is with the delay for the fade in image. I've got it so that the image fades in when the slide is active and has .flex-active-slide class. A

Right now, on first slide of this page the fade in image shows up almost instantaneously and fades out at the end revealing the first bottom image for a few seconds. The second slide is doing the sequence twice. First time fade in slide is immediate, second time fading in really slow. nd I've been manipulating the CSS animation properties, but I'm a novice at animating and keyframes. And now it's just a hot mess!

What I'm trying to achieve is that current slide is visible for about 10 seconds, then .top img quickly fades in, stays for about 10 seconds, til next slide comes along. Then next slide moves in and animation is repeated.

What am I doing wrong?

Here's my code:

Template code:

<div class="entry-content">
		<div class="flexslider">
		$args = array( 'post_type' => 'slide', 'posts_per_page' => 10 );
		$the_query = new WP_Query( $args ); 
		$i = 1;
		<?php if( have_rows('slider') ): ?>
			<ul id="slideshow" class="slides"> 
				<?php while( have_rows('slider') ): the_row(); ?>
				<li class="slide-<?php echo $i++; ?>">
			  	<img src="<?php the_sub_field('slide'); ?>">
			  	<?php if( have_rows('transition_slides') ): ?>
					<?php while( have_rows('transition_slides') ): the_row(); ?>
			  	<img class="top" src="<?php the_sub_field('transition_slide'); ?>">
			  	<?php endwhile; ?>
			  	<?php endif; ?>
				<?php endwhile; ?>	
			</ul><!-- slideshow -->	
			<?php endif; ?>
		</div><!-- .flexslider -->
	</div><!-- .entry-content -->

Open in new window


.flexslider .slides {
	position: absolute;
	top: 0;
	left: 0;
.flexslider .slides .flex-active-slide {
	animation: fadeIn ease-in 1;
	animation-duration: 6s;
	animation-direction: alternate;
	animation-delay: 20s;
@keyframes fadeIn {
	from {
    opacity: 0;
  to {
    opacity: 1;

Open in new window

Initialization Code for Flexslider:

			jQuery(document).ready(function($) {
			    animation: "fade",
			    animationSpeed: 1000,
			    slideshowSpeed: 6000,
			    directionNav: false,
			    controlNav: false,
			    after: function (slider) {
            if ((slider.currentSlide + 1) == slider.count) {

Open in new window

Alicia St RoseOwner & Principle Developer/DesignerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
OMG! One issue was Supercacher turned on at Siteground, so none of my file changes were being recognized. Nice. Only 4 hours of head banging.... :/

So, I see a better transition, but not exactly what I'm after....
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I think I've got this now.

It's a combo of adjusting Flexslider and the CSS animation-delay and animation-duration.

The caching on the Server threw me. So, I'm okay now.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alicia St RoseOwner & Principle Developer/DesignerAuthor Commented:
I figured it out. Damn Supercacher was enabled on the site in Siteground.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS Animation

From novice to tech pro — start learning today.