$('.w-slider').off('mouseenter mouseleave');
.To prevent a full-screen Webflow slider from pausing on hover and to sync two sliders with unified controls, you'll need to disable the hover pause behavior and implement JavaScript to link the sliders.
Webflow’s native slider automatically pauses on hover, and there's no UI setting to disable this. You’ll need custom JavaScript.
Go to the Page Settings or add a custom embed element and insert this JavaScript:
Inside the <head>
tag (for site-wide use) or before </body>
for page-specific.
Script to prevent pause on hover:
This targets the slider component by removing mouse event listeners.
```javascript
Webflow.push(function () {
$('.w-slider').off('mouseenter mouseleave');
});
```
This stops the slider from pausing on hover, allowing continuous autoplay.
Webflow doesn't natively sync two slider components, so you’ll need JavaScript to link their navigation controls and slide states.
Give each slider a unique ID in Webflow:
Slider A: #slider-A
Slider B: #slider-B
If using native Webflow left/right arrows, you'll also need to override their behavior to control both sliders.
Sync navigation with custom JavaScript:
```javascript
Webflow.push(function () {
// Sync next and previous buttons
var $sliderA = $('#slider-A');
var $sliderB = $('#slider-B');
$sliderA.find('.w-slider-arrow-left').on('click', function () {
$sliderB.find('.w-slider-arrow-left').trigger('click');
});
$sliderA.find('.w-slider-arrow-right').on('click', function () {
$sliderB.find('.w-slider-arrow-right').trigger('click');
});
// Optionally sync slide changes as well
$sliderA.on('slide', function (e, index) {
$sliderB[0].swiper.slideTo(index); // If using Swiper library
});
});
```
Note: Webflow's slider is powered by its internal API, and doesn’t expose events like slide
by default. For tight syncing, you may need to override Webflow’s default slider with Swiper.js or Flickity.
To prevent a Webflow slider from pausing on hover, remove the mouseenter/mouseleave event listeners using JavaScript. To link two sliders under one set of controls, use matching button triggers and optionally a slider library like Swiper for full synchronization.