Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #392632

    Any easy way to have both the over display of text always on as you’re seeing from the link
    But then have the entire cell have a hover effect with the default or customer overlay image popping up?
    Make sense?

    Thanks!

    #393181

    Hi Justin!

    Please add following code to Quick CSS

    .av-image-caption-overlay:hover {
    background-color: rgba(255,255,255,0.5);
    background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    }

    Cheers!
    Yigit

    #393496
    This reply has been marked as private.
    #393658

    Hi!

    Can you please add following code to Quick CSS as well

    .av-image-caption-overlay:hover { background-size: initial!important; }

    Cheers!
    Yigit

    #394096
    This reply has been marked as private.
    #394356

    Hey!

    You can apply the same CSS3 effect using following code

    .av-image-caption-overlay:hover {
    -webkit-animation: avia_pop_small 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -moz-animation: avia_pop_small 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
    animation: avia_pop_small 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275); 
    }

    But since you have your text inside “av-image-caption-overlay”, it would be animated as well

    Regards,
    Yigit

    #394702
    This reply has been marked as private.
    #394989

    Hey!

    Replace the code with this:

    .av-image-caption-overlay:hover .av-image-caption-overlay-position {
    -webkit-animation: avia_pop_small 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
    -moz-animation: avia_pop_small 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
    animation: avia_pop_small 0.5s 1 cubic-bezier(0.175, 0.885, 0.320, 1.275);
    }

    Regards,
    Ismael

    #397760
    This reply has been marked as private.
    #397762
    This reply has been marked as private.
    #397997

    Hi!

    The animation avia_pop_small works exactly that way so if you want a different animation, you need to create your own. Use css keyframes:

    http://www.w3schools.com/cssref/css3_pr_animation-keyframes.asp
    http://www.w3schools.com/css/css3_animations.asp

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.