Jump to content

Gallery Slideshow Transitions

Recommended Posts

Add to Design > Custom CSS

.gallery-fullscreen-slideshow-item-img{
	transition: opacity 1600ms ease-in-out !important;
	-webkit-transition: opacity 1600ms ease-in-out !important;
	-ms-transition: opacity 1600ms ease-in-out !important;
	-moz-transition: opacity 1600ms ease-in-out !important;
	-o-transition: opacity 1600ms ease-in-out !important;
}

//.gallery-fullscreen-slideshow[data-transition="fade"] 
.gallery-fullscreen-slideshow-item[data-active="true"] .gallery-fullscreen-slideshow-item-src{
	transition: opacity 1400ms ease-in-out !important;
	-webkit-transition: opacity 1400ms ease-in-out !important;
	-ms-transition: opacity 1400ms ease-in-out !important;
	-moz-transition: opacity 1400ms ease-in-out !important;
	-o-transition: opacity 1400ms ease-in-out !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 year later...
  • 2 months later...
On 11/10/2023 at 5:05 AM, DGTL said:

This is working for some transitions but other transitions in the gallery are still harsh. I think it has to do with the timing of my transitions in correspondence to the code but im not sure how to fix it. Would you be able to help with this?

Site URL: www.davidguirguis.com/dgtl

Try this CSS code for dgtl page

figure.gallery-fullscreen-slideshow-item {
    opacity: 1 !important;
    transition: unset !important;
}
figure.gallery-fullscreen-slideshow-item:not([data-active="true"]) {
    visibility: hidden !important;
}
[data-active="true"] {
    visibility: visible !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 month later...
On 1/4/2024 at 11:30 PM, oldegray said:

@tuanphan is there any way to fix the transition in a carousel design? The transition from the last image back to the first image is quite jerky and abrupt. 

 

Gallery Block Carousel or Gallery Section Slideshow or?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.