Hi there,
I’m currently working on a design where I use images, but don’t find the hover effect and link to see a full size version of the image helpful.
How can I disable this?
Please advise. Many thanks.
Hey MadRhino!
Which shortcode are you using? If it’s the image shortcode then you can remove the link and the styling in the shortcode options.
If your using HTML to insert your own images then add a class of “noLightbox” to the link and image so it does not open in the magnific popup automatically.
If your using a specific shortcode then send us a link to your page so we can take a look.
Cheers!
Elliott
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.image-overlay {
display: none!important;
}
Regards,
Yigit
Thanks Yigit,
That took care of the image overlay; however, the underlying link still brings up a full size version of the image. Is there a way to disable this as well? Many thanks for your help.
Hi!
Please try this on functions.php:
add_filter('wp_footer', 'avf_remove_link', 10);
function avf_remove_link() { ?>
<script>
(function($){
$(window).load(function() {
$( "a.b-link-fade.b-animate-go" ).each(function() {
$(this).removeAttr('title');
});
});
})(jQuery);
</script>
<?php
}
Best regards,
Ismael