Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #375795

    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.

    #375917

    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

    #376691
    This reply has been marked as private.
    #376870

    Hey!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .image-overlay {
    display: none!important;
    }

    Regards,
    Yigit

    #377051

    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.

    #377259

    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

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