Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #187354

    Hey guys,
    I’m adding a gallery with the Gallary module in the media modules. When scrolling over the image the image goes dim (like some kind of hovering effect). Can this be removed?
    http://www.petersandinfoto.se/portfolio/portfolio-portratt/
    cheers guys!
    Peter

    #187687

    Hi petersandin!

    Edit js > shortcodes.js, find this code:

    //trigger displaying of thumbnails
    gallery.on('avia_start_animation', function()
    {
    images.each(function(i)
    {
    var image = $(this);
    setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
    });
    });

    Replace it with:

    //trigger displaying of thumbnails
    gallery.on('avia_start_animation', function()
    {
    images.each(function(i)
    {
    var image = $(this);
    setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
    });
    }).trigger('avia_start_animation');

    Remove browser cache then reload the page.

    Cheers!
    Ismael

    #187703

    Thanks Ismael but it didn’t work. I made the changes, cleared the cache and reloded the page but the animation on hover was still there.
    Any thoughts?

    #187819

    Hey!

    Please try adding following code to Quick CSS in Enfold theme options under Styling tab

    .avia_transform .avia-gallery-thumb img:hover {
    opacity: 1!important;
    }

    Regards,
    Yigit

    #187854

    Tried it and it doesn’t work. However if I change it to “opacity: 0” it makes the image go away on hover so the “targeting” works, just “1” doesn’t make it 1.
    Any other suggestions?

    #188077

    Hi!

    Do you mind creating a temporary admin login and posting it here privately so we can take a look? Make sure to check “Set as private reply (Only you and moderators will see the content of this post)” above Submit button

    Best regards,
    Yigit

    #188274
    This reply has been marked as private.
    #188377

    Hi!

    Changes are done. Please review your website. I was targetting wrong element. You can find the correct one in Quick CSS section

    Best regards,
    Yigit

    #188404

    Works perfect Yigit!! Thanks a lot!!!

    I’m finally about to go public with my little site and you guys, your help has been amazing while building this!!
    Thanks a lot to all of you!!!

    (this doens’t mean I wont come back with more questions though :) )

    Cheers,
    Peter

    #188408

    Hi!

    You are welcome Peter! Glad we could help. You can come back any time :)

    Cheers!
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Gallery in Enfold layout builder’ is closed to new replies.