The Divi Theme's blog module displays a list of posts and, optionally, their featured images. By default, clicking on the featured images will take you to the corresponding post. Here's how to make the blog module's featured images non-clickable.
Disable the Blog Module Featured Image Links using CSS
The following CSS can be used to disable the featured image links.
.et_pb_module.et_pb_posts .entry-featured-image-url {
pointer-events: none;
}
Related Post: Adding CSS to the Divi Theme
To apply the CSS to a specific blog module only:
- Give that module a CSS Class in "Blog Module Settings > Advanced > CSS ID & Classes > CSS Class", e.g. "non-clickable-featured-images"
- Replace ".et_pb_module.et_pb_posts" with ".et_pb_module.non-clickable-featured-images" in the above code
Thanks for this – exactly what I needed :)
You're welcome, zeb :)