Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #620157

    How to remove the automatic lightbox link of featured image (post)??

    Thanks.

    #620460

    Hi grupoabades,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Regards,
    Rikard

    #622079

    For example, in the demo of enfold theme: http://kriesi.at/themes/enfold/2014/04/28/new-electric-cars-are-getting-really-fast/

    <a title="New electric cars are getting really fast" href="http://kriesi.at/themes/enfold/files/2014/04/sportscar-speedometer-1030x686.jpg" class="lightbox-added"><img width="710" height="270" alt="sportscar-speedometer" class="attachment-entry_with_sidebar size-entry_with_sidebar wp-post-image" src="http://kriesi.at/themes/enfold/files/2014/04/sportscar-speedometer-710x270.jpg"><span class="image-overlay overlay-type-image" style="left: -5px; top: 0px; overflow: hidden; display: block; height: 267px; width: 712px;"><span class="image-overlay-inside"></span></span></a>

    If i add this code in quick css:

    .single .big-preview.single-big {
      pointer-events: none;
    }

    But, in the html the link appears. How to disable the link to lightbox of all featured images on post?

    Thanks.

    • This reply was modified 8 years, 8 months ago by grupoabades.
    #623683

    Hi!

    your code should work, so can you provide us a precise link to your site showing the elements in question please? we need to be able to inspect the elements.

    Regards,
    Andy

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