.show(index)
with the desired slide index in the page's footer.You cannot set a Webflow Slider to start from the middle of an image gallery using built-in checkbox options or settings. However, you can achieve this with custom JavaScript.
Slide 1
) by default.0
, second is 1
, etc.Example: If you have 5 slides and want to start at the middle, use index 2
.
tag.
<script> Webflow.push(function() { // Replace '2' with your target slide index $('.w-slider').each(function() { var slider = $(this).data('w-slider'); if (slider) { slider.show(2); // Set to middle slide index } }); });</script>
w-slider
, or adjust the selector accordingly..goToSlide(index)
with animation if using a custom slider library, but Webflow’s built-in method is instant.Webflow does not support starting a slider from the middle via built-in settings, but you can use custom JavaScript to programmatically navigate to a desired slide after the page loads.