Hi
How can I remover the featured image link from all the posts that are shown in the layout with small preview image. You gave me this for big images which worked:
.single-post .big-preview a {
pointer-events: none;
}
I tried this for small preview but it didn’t work!
.single-post .small-preview a {
pointer-events: none;
}
Thanks
Abedi
Hey abedia!
You can use this:
.small-preview, .single small-preview {
pointer-events: none;
}
Best regards,
Ismael
Thanks. It worked. But is it possible to keep the image link in blog page or the page showing the list of posts of a particular category and still not having the image link in the post page?
I want the link works here (linking to the post not image as the title does): http://www.kitm.se/sv/category/nyheter/
but not here: http://www.kitm.se/sv/varmote-kitm-7-8-maj-2014-i-stockholm/
Thanks!
Abedi
Hey!
Please adjust Ismael’s code to be following
.single-post .small-preview {
pointer-events: none;
}
It will be applied only on single posts
Cheers!
Yigit
Thanks, it worked perfectly.
Regards
Abedi