David Kratochvil
asked 10 years ago

Good day,
I have problem with thumbnails. Feature1 and Feature2 are not automaticly resizing thumbnails. Do you know where can be a problem? I have there plugin “Rebuild Thumbnails”.
How can i get automaticly slide for Feature1? I mean with that same smooth effect like in manualy slide.
Thank you!

David Kratochvil
replied 10 years ago

So I solved the firs problem, i add my own thumbnail size to (theme) function.php – add_image_size(‘featuredImageCropped’, 670, 350, true); this is for Feature1 and than used plugin Ajax Rebuild Thumbnails. For Feature3 is that same but with size: 300, 156. And after this you must change the Thumbnail Size in widgets.

1 Answers
DominicStaff
answered 10 years ago

Apologies for the delay in replying to you. To make the featured slider to slide auto on load, you can add the following code to the Header Code (Dashboard > Customize > Custom Code)

<script>
jQuery(function($){
$('.carousel').carousel({
interval: 3000
});
});
</script>

If you want to custom for each carousel, you can change the ID of the carousel in the line code: 

$('.carousel').carousel({

Eg: carousel-2, carousel-3, carousel-4
After changing:

$('.carousel-2').carousel({

Hope this helps !

Powered by DW Question & Answer Pro