Currently when I hover over the image the caption fades in. I would like the caption to slide in from the bottom of the image, similar to the images on this page: http://www.dca-design.com/
Hi sparkzilla!
Can you please post the link to your page where we can see the element you would like to customize?
Regards,
Yigit
Hi, please chedk the two images at the bottom of this page: http://dci2.newslines.org/
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.av-overlay-on-hover .avia-image-container-inner:hover .av-image-caption-overlay {
animation: 1s slide-up;
}
@keyframes slide-up {
from {
margin-top: 200px;
}
to {
margin-top: 0;
}
}
Best regards,
Yigit
Hi that’s getting there, but I’d like the caption to be around 50 pixels high and ease in from the bottom of the image, similar to the images here: http://www.dca-design.com/
Thank you for your help!
Hey!
Please create a temporary admin login and post it here privately.
Regards,
Yigit
Enclosed
Hi,
I added following code to Quick CSS as well
.av-caption-image-overlay-bg {
height: 50px;
bottom: 0;
}
.av-image-caption-overlay-center {
vertical-align: bottom;
position: relative;
bottom: 10px;
}
Please review your website now
Best regards,
Yigit
If you don’t want the caption to begin sliding from below the image, you can use…
.av-overlay-on-hover .avia-image-container-inner:hover .av-image-caption-overlay {
animation: 1s slide-down;
}
@keyframes slide-down {
0% {
opacity: 0;
height: 0%;
}
100% {
opacity: 1;
height: 100%;
}
}
…to have the caption slide down from the top of the image or…
.av-overlay-on-hover .avia-image-container-inner:hover .av-image-caption-overlay {
animation: 1s slide-up;
}
@keyframes slide-up {
0% {
opacity: 0;
height: 0%;
top: 100%;
}
100% {
opacity: 1;
height: 100%;
top: 0%;
}
}
… to have the caption slide up from the bottom of the image.