-
-
Have testimonials on the homepage. Carousel set to on. Arrows aren’t showing up and testimonials aren’t scrolling through.
-
-
-
I have tried to drag and scroll and works fine, please active the bottom Navigation on Testimonial Options. I think that we don’t use arrows in our demos.
Let me know if it’s an error of arrows only.
Can we please proceed our discussion in only one thread? :)
Thanks
-
I see that drag and scroll works for testimonials. Is there a way to get these to automatically advance? I do have navigation on testimonial options enabled, and I don’t see any navigation.
Sure, we can use one of the threads.
-
Hello,
Yes, sure. To make the testimonials automatically scroll please go to file js/codeless-main.js and find these lines:
/** * Init Testimonial Carousel * * @since 1.0.0 */ CL_FRONT.testimonialCarousel = CL_FRONT.init_cl_testimonial = function(){ "use strict"; $('#testimonial-entries').each(function(){ CL_FRONT.components.Carousel( $( this ), { items: 1, animateIn: 'alpha-in', animateOut: 'fadeOut', }); }); }
Edit to this:
/** * Init Testimonial Carousel * * @since 1.0.0 */ CL_FRONT.testimonialCarousel = CL_FRONT.init_cl_testimonial = function(){ "use strict"; $('#testimonial-entries').each(function(){ CL_FRONT.components.Carousel( $( this ), { items: 1, animateIn: 'alpha-in', animateOut: 'fadeOut', autoplay: true, loop: true }); }); }
I have added only
autoplay
andloop
options.
Let us know.Best regards!
-
-
Hello, still waiting to hear back from you on this.
-
Hello,
I added the above changes to your js/codeless-main.js file and the testimonials are auto scrolling now. Please clear cache and refresh page.
Best regards!
-
Hi there, same issue here. Don’t we want to make these changes to the child theme? I changed the original js file back and edited folie-child/js/codeless-main.js and it’s not working. Please help.
-
I figured out how to deregister and register the new script. We can close this ticket. Thanks.
-
You must be logged in to reply to this topic.