I have animation switched on for my gallery and for the icon box at the top of each page which seems to slow the page down. They stay unanimated/ greyed out for quite some time… (most people will have scrolled by).. is there a way to disable animation on these two elements using css?
EG: https://www.gaytravel4u.com/event/la-demence-new-years-party/
Hey roamingk,
Sorry for the late reply, Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
.iconlist_icon,.iconlist-char {
-webkit-animation: none !important;
animation: none !important;
-webkit-transform: scale(1) !important;
-ms-transform: scale(1) !important;
transform: scale(1) !important;
opacity: 1 !important;
}
Then clear your browser cache and any cache plugin, and check.
Best regards,
Mike
ok and for the main image?
Hi,
The featured image is not loading for you? I tested in Chrome, Firefox, Edge & IE11 with no issues, which browser are you using?
Best regards,
Mike
Sorry. I was not clear. I want to turn off all the animation on the avia-gallery aswelll.. including the thumbnails.
Hi,
Please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
.avia_transform .avia-gallery-thumb img {
opacity: 1 !important;
-webkit-transform: none !important;
transform: none !important;
}
.avia_transform .avia-gallery-thumb img.avia_start_animation {
-webkit-animation: none !important;
animation: none !important;
opacity: 1 !important;
-webkit-transform: scale(1) !important;
transform: scale(1) !important;
}
Best regards,
Mike