Tagged: andy
How to remove the automatic lightbox link of featured image (post)??
Thanks.
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
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.
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