Skip to main content

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

Popular posts from this blog

3d images of Sai baba of Shirdi

These are some more 3d images created out of photographs of the great Indian saint Sai Baba of Shirdi.

3d photos of Shirdi Sai Baba

These are 3d photos of the great Indian Saint Sai Baba of Shirdi

3d Photo-frames Shree Swami Samarth

Shree Swami Samarth Maharaj of Akkalkot in Sholapur District of Maharashtra is a very popular saint.Numerous miracles are attributed to him.He is considered to be an Avatar of the Hindu God Dattatreya. Related articles Gayatri Aarti English-Hindi (prophet666.com)

Shirdi Sai Baba 3d images

This is a beautiful template of six 3d images of the same photo of Sai Baba of Shirdi

3d Photos of Shirdi Sai Baba 2

These are more 3d photos made from the same photo of the great Indian Saint Sai Baba of Shirdi