Tagged: gallery
-
AuthorPosts
-
November 12, 2013 at 5:02 pm #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!
PeterNovember 13, 2013 at 10:42 am #187687Hi 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!
IsmaelNovember 13, 2013 at 11:08 am #187703Thanks 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?November 13, 2013 at 4:41 pm #187819Hey!
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,
YigitNovember 13, 2013 at 5:22 pm #187854Tried 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?November 14, 2013 at 12:08 am #188077Hi!
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,
YigitNovember 14, 2013 at 9:56 am #188274This reply has been marked as private.November 14, 2013 at 3:20 pm #188377Hi!
Changes are done. Please review your website. I was targetting wrong element. You can find the correct one in Quick CSS section
Best regards,
YigitNovember 14, 2013 at 4:07 pm #188404Works 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,
PeterNovember 14, 2013 at 4:12 pm #188408 -
AuthorPosts
- The topic ‘Gallery in Enfold layout builder’ is closed to new replies.