casson Posted November 27, 2019 Share Posted November 27, 2019 Hi, I've put a Slideshow Gallery at the top of an Index Page in the Brine template. It has three images that transition. By default when the mouse hovers over an image the slideshow pauses and you cannot prevent this automatic pausing without a code injection. I would like the slideshow to continue on mouseover however I still need the website visitor to be able to press a gallery dot/arrow indicator or press a 'Call to Action' link in the image content body text. How can this be achieved? The code below prevents the index slideshow pausing on mouseover but it also switches off all mouse pointer events... /* Index Gallery Slideshow - prevent pause on hover */ .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; } Link to comment
popandporter Posted January 16, 2020 Share Posted January 16, 2020 Hi Casson, It looks like you just need to add the !important tag after the auto on the second command: /* Index Gallery Slideshow - prevent pause on hover */ .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 !important; } I just tried this on a couple of my sites and it seemed to work fine. Hope this helps! Link to comment
jonaverill Posted February 17, 2020 Share Posted February 17, 2020 Hey guys, This also seems to stop you being able to click on gallery items, in this case I have Vimeo links but they aren't working when I use this code. If anyone had a fix would be great. Thanks Link to comment
NathanT Posted March 12, 2020 Share Posted March 12, 2020 Thanks for the code popandporter. Would you know how to make mouseover stop a sliding gallery page (non index)? Currently my gallery pages continue to scroll even with mouseover and i'd like to prevent this when the user is hovering. Thanks On 1/16/2020 at 5:21 PM, popandporter said: Hi Casson, It looks like you just need to add the !important tag after the auto on the second command: /* Index Gallery Slideshow - prevent pause on hover */ .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 !important; } I just tried this on a couple of my sites and it seemed to work fine. Hope this helps! Link to comment
popandporter Posted March 16, 2020 Share Posted March 16, 2020 @NathanT Can you send me the site you're working on so I can take a look? Link to comment
Guest Posted June 11, 2020 Share Posted June 11, 2020 hello, did anyone find out how to not pause the slideshow but keep images clickable? Link to comment
RyanDejaegher Posted June 12, 2020 Share Posted June 12, 2020 @phlllpp are you wanting the slideshow to keep moving even when you hover over it? Philadelphia, PA 👉 Squarespace Tutorials Chat/Message on FB Messenger for quickest response: https://m.me/dejaegherryan Link to comment
Guest Posted June 27, 2020 Share Posted June 27, 2020 yes! that's what I try to do ... any hints? Link to comment
Guest Posted August 13, 2020 Share Posted August 13, 2020 I have the same issue, index gallery will pause on hover. Tried different codings I found but none are working... any ideas? Link to comment
brandjarrett Posted August 16, 2020 Share Posted August 16, 2020 @RyanDejaegher @popandporter falling in line, similar issue here. I want my homepage's slideshow arrow to still be clickable, but without the hover-event creating a grey background. Essentially I want the arrow to stay exactly the same when hovered over. http://www.alycefayeoriginals.com/ pw: arrowhoverfix Thanks in advance! Link to comment
PartTwoDesign Posted October 19, 2020 Share Posted October 19, 2020 I discovered this code - genius 🙂 https://sf.digital/squarespace-solutions/how-can-i-prevent-the-index-slideshow-pausing-on-mouseover Link to comment
Fubeman Posted December 11, 2020 Share Posted December 11, 2020 PopandPorter's solution does not work for my site (it's a 7.0 Brine template). What DOES work for me is the following: /* Index Gallery Slideshow - prevent pause on hover */ .Index-gallery { pointer-events:none; } .Index-gallery a, .Index-gallery-control, .Index-gallery-indicators { pointer-events:auto; } Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.