JS Error in CanvasSlider

1 reply · opened Feb 27, 2024

KKalFeb 27, 2024

Hi,

I plan to use this slider on my site: https://canvastemplate.com/block-slider-1.html. However, it's got an error
Unhandled Promise Rejection: TypeError: null is not an object (evaluating 't.closest(".swiper-slide").classList') and the caption won't show up in the second and third slides.

Please help me to fix it

Thanks and best regards

SSemicolon WebSTAFFFeb 29, 2024

Hello,

Thanks for reporting this! :) There was minor bug with the code.

Consider using the updated js/functions.bundle.js File attached to this reply.

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard