Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching between the galleries shows a 'grow' animation #24

Open
danstramer opened this issue Oct 20, 2020 · 2 comments
Open

Switching between the galleries shows a 'grow' animation #24

danstramer opened this issue Oct 20, 2020 · 2 comments

Comments

@danstramer
Copy link

danstramer commented Oct 20, 2020

We created a gallery type 'multiple'.
When switching between the galleries with the filter bar, the thumbnails animate ('grow' animation).
Is there a way to remove the animation or change it to 'fade'?
See video explanation here:
https://www.dropbox.com/s/pi1baqsgmx2f21q/Video_2020-10-20_151953.wmv?dl=0

Thanks
Dan

@kylehgc
Copy link

kylehgc commented Aug 30, 2023

Kind of a little late but I was able to do it with the following custom CSS:

.e-gallery-grid.e-gallery--animated .e-gallery-item {
opacity: 0;
}
.e-gallery--lazyload .e-gallery-image:not(.e-gallery-image-loaded){
filter:opacity(0);
transform:scale(1);
}
.e-gallery-item.e-gallery-item--hidden{
opacity:0;
transform:scale3d(1, 1, 1);
}

A lot of what elementor does is add/take away classes so I kept the opacity to 0 and stopped the two scalling from happening. I know its a little late but I hope this helps someone.

@gabrielbajada
Copy link

gabrielbajada commented Aug 27, 2024

Thank you, @kylehgc!

For anyone else that finds this, I had to add !important for each transform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants