Hi,
Do you refer to the lightbox feature on galleries?
Please try to remove this code to disable lightbox for tagdiv galleries – http://screencast.com/t/OLjyKBFL
Also for default gallery – http://screencast.com/t/YB6xcfZzUj – http://screencast.com/t/OkWLdkc4g0m
If you use speedbooster you will have to delete the code from – http://screencast.com/t/kDXKit5I2diY
Please provide more details if this is not what you mean.
Thanks!
Hey there,
I deleted the codes but the lightbox is still showing up on the image click:
http://unyawn.com/top-8-dumpling-places-in-america/
I don’t think I’m using speedbooster so I didn’t remove that one. Can you clarify what lines I’m supposed to remove there?
Hi,
Here you don’t use a gallery this is a smart list. Try to comment this line – http://screencast.com/t/qTYJi6TW and see if it works.
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Please try this custom css in Theme Panel > Custom Css:
.td-sml-link-to-image {
pointer-events: none;
cursor: default;
}
Thanks!
Hey Alin,
Got it! It’s not removed on lists but it the lightbox still pops up on regular posts: http://unyawn.com/the-dangers-of-eating-too-much-restaurant-food/
Hi,
Please make sure that you disable lightbox for featured images – http://screencast.com/t/3j4PoMa8P and also make sure that you disable general modal image is disabled from Post Settings – http://screencast.com/t/4MdtDh0tzGg so it will be applied the individual settings of an image post. Make sure that for each image that you add to your post content the modal image is off – http://screencast.com/t/Fx9Vdll8Qq – http://screencast.com/t/nxbXA0oWc
Thanks!
Awesome, that did it for the regular post!
For lists, is there another way to remove the clickthrough to image link aside from using the custom css below?
I have a plugin where if a user points their cursor over a photo, a share button pops up on the left of the image and the css actually removes that. http://unyawn.com/biggest-fails-of-the-week-071415/
.td-sml-link-to-image {
pointer-events: none;
cursor: default;
}
Hi,
If you want to remove the link from the image you can do this for each smartlist – http://screencast.com/t/tZIICCAQRLa
Thanks!