How to prevent Squarespace index slideshows pausing
When you want a full-width slideshow on Squarespace, itβs really easy to do. Simply add a Gallery Page to an Index Page and set the Layout to Slideshow. Almost every aspect of the Slideshow can be changed using the Site Styles editor. You can add controls and indicators, set the autoplay duration and choose the transition.
However, thereβs one thing that bugs us. If a visitorβs mouse is hovering anywhere within the slideshow, autoplay pauses. The visitor may not even know that there are other slides to see. There isnβt a setting in Site Styles that can prevent this. Weβve seen a few answers that suggest using CSS to switch off all βpointer eventsβ and whilst these work, they prevent visitors from using the controls to manually move through the images.
The CSS weβve provided below prevents the slideshow from pausing, but it also allows the controls to be used.
/* Index Gallery Slideshow - prevent pause on hover - soundfocus.co.uk */ .tweak-index-gallery-layout-slideshow .Index-gallery-wrapper { pointer-events: none!important; } .tweak-index-gallery-layout-slideshow .Index-gallery-wrapper .Index-gallery-control { pointer-events: auto; }
Note: This post was written in 2018 and refers to Brine-family templates on Squarespace 7.0. It does not apply to Squarespace 7.1 as this was introduced a year after this post was published.