Tagged: featured image
Hello.
I’d like to remove a link to the original image from a featured image on a single post page.
I’ve disabled the lightbox and don’t need a link to the original image.
What should I do?
Hi,
What type of Blog style do you have? You can find the settings on Enfold > General Settings > Blog Style.
You can add this on your custom.css Or Quick CSS
.big-preview.single-big a, .small-preview {
pointer-events: none;
cursor: default;
}
Regards,
Ismael
Hi.
I use Single author, big preview.
I can’t use your code, because it will disable link to the single post on the blog index page.
I want to disable the link to the original image file on a single post page.
Hi andreikharlanov,
Try adding the following CSS to your Quick CSS (located under the Styling Tab in the theme options) or the custom.css file in the css folder of your theme files:
#top.single-post .big-preview.single-big a,
#top.single-post .small-preview {
pointer-events: none;
cursor: default;
}
If you have a link to the page there is also a jquery method as well but I like to make sure its very specific to the page/layout so that it doesn’t cause any outside issues.
Regards,
Devin
That worked!
Thank you very much! :)
Glad we could help :)
Let us know if you have any other questions or issues.
Regards,
Devin