Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #300900

    The image hover overlay looks great but on our development site it currently does not appear when the mouse hovers over the image the first time. Is there a way to fix this or would the hover effect have to be removed altogether?

    Thanks,

    #300924

    Hey iovacomm!

    Thank you for visiting the forum.

    This issue has been reported before. Please edit the image code, replace the inline style of the link tag from display: block to display: inline-block. Check this one for example:

    <a href="#" style="position: relative; overflow: hidden; display: block;"><img style="margin-top: 20px;" src="http://iovanbs.staging.wpengine.com/wp-content/uploads/2014/07/pic1.jpg" (hosted on WPengine) alt="" width="250" height="140" data-wp-imgselect="1"><span class="image-overlay overlay-type-extern" style="left: 21px; top: 20px; overflow: hidden; display: block; height: 140px; width: 260px;"><span class="image-overlay-inside"></span></span></a>
    

    This should be like this:

    <a href="#" style="position: relative; overflow: hidden; display: inline-block;"><img style="margin-top: 20px;" src="http://iovanbs.staging.wpengine.com/wp-content/uploads/2014/07/pic1.jpg" alt="" width="250" height="140" data-wp-imgselect="1"><span class="image-overlay overlay-type-extern" style="left: 21px; top: 20px; overflow: hidden; display: block; height: 140px; width: 260px;"><span class="image-overlay-inside"></span></span></a>
    

    Or better if you remove the inline style altogether.

    Best regards,
    Ismael

    #301246

    Thanks! Fixed it!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Image Hover Overlay Functionality’ is closed to new replies.