• Resolved kioskdesign

    (@kioskdesign)


    Carousel loads and displays the an image without a problem.
    However, even if an image that appears in the middle of gallery is selected, toggling left or right bumps to the first or last image in the gallery.
    From there, only the arrow pointing to the fist or last image (depending on which you’re on) will work, only allowing the carousel to show those tow images.

    How can I resolve this?

    https://wordpress.org/plugins/carousel-without-jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Tim Carr

    (@n7studios)

    jQuery(document).ready(function($) {
    	$('.gallery .gallery-item:first-child a').trigger('click');
    });
    Plugin Contributor Tim Carr

    (@n7studios)

    The above Javascript would trigger the carousel to load with the first image on a page load. Put this in your theme’s Javascript or similar.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can oly toggle between first and last images.’ is closed to new replies.