I’m new to Unbounce and am having difficulty adding a slider for testimonials on my landing page. This is what I have done so far:
-
Used drag and drop HTML widget and enter following code:
script
section class="regular slider"
div
img src=“img1.jpg”
/div
div
img src=“img2.jpg”
/div
/section
/script -
Added Javascript to the JS tab at bottom of interface:
script
(document).on('ready', function() { (".regular").slick({
dots: true,
infinite: true,
slidesToShow: 3,
slidesToScroll: 3
});
});
/script -
Adding CSS in bottom CSS panel:
ANY help would be greatly appreciated. I’m not sure if my failure is in the code or the placement of where the code lives within the Unbounce Editor.