Hiding Thumbnail Image and Photo Caption in Twenty Twenty One Themes

In this post, I will explain how to easily hide the thumbnail image in the middle of the post in the latest Default Wordpress Twenty Twenty-One Theme.

One of the major drawbacks of these themes is that they show the featured image below the title and above the post content and also once again show a smaller thumbnail of the same image somewhere in the center of the themes.

Hence, we have two images of the same photo, which does not look very good. The Options Twenty Twenty One Plugin does not have this option. 

There are some tutorials on removing the thumbnail but even after removing the thumbnail the Photo Caption does not disappear.

I have tried this solution and it works perfectly on the Twenty-One Themes.

Navigate to Dashboard>Appearance>Customize>Additional CSS and add the CSS given below:

Hiding Thumbnail Image and Photo Caption in Twenty Twenty One Themes

.entry-content img {display: none;}
.wp-caption-text {display: none;}

The first code hides the image and the second code hides the Caption, hence, you have to use both the CSS Codes. 

Comments