How to Hide Image in Post Page and Showing it only in Homepage in Blogger

How to Hide Image in Post Page and Showing it only in Homepage in Blogger


When I have created my blogger the first time, I have also faced this same problem, I do not know, how to add an image thumbnail to a video on the home page and showing it post page. After learning to add thumbnails to the video, I have faced one more problem the image is displaying on the posting page due to it, the post is not appearing well. So that I have learned finally how to create an image thumbnail to video and hiding it on the posting page and showing it only on the page of blogger post.

Step 1: Go to Blogger Dashboard  >>  Template >> Edit Html
How to Hide Image in Post Page and Showing it only in Homepage in Blogger




Step 2: Click anywhere in Html Editor and press CTRL+F from your keyboard then a Search Box will appear in the top right corner of Html Editor. Copy this code and paste in Search Box then hit ENTER

]]></b:skin>


How to Hide Image in Post Page and Showing it only in Homepage in Blogger





Step 4: Copy given below CSS code and paste it immediately below this    ]]></b:skin>

How to Hide Image in Post Page and Showing it only in Homepage in Blogger
<b:if cond='data:blog.pageType != &quot;index&quot;'>

<style>.hidepic{display: none;}</style>

</b:if>

And Save the Template

Step 5:  Every time while you will create a new post then add your image/picture first and then turn editor to Html

How to Hide Image in Post Page and Showing it only in Homepage in Blogger



Then locate the code for that image which will look like that


Step 6: Replace the code highlighted below in the caption with code
“hidepic”

How to Hide Image in Post Page and Showing it only in Homepage in Blogger



Now that’s all the specific thumbnail for a blog post option have created on your blog you have to repeat for every new single post. Now we have done the coding part and check your post, no image will be displayed on the posting page but it displays on the home page.

Whenever you create a post with a thumbnail image, repeat the sixth step(step 6) for every image of video posts or normal posts.

Conclusion

If you know more about How to Hide the Image on Post Page and Showing it only on Homepage in Blogger? Please comment below or share this post to help others.



Comments

Post a Comment

Most Useful Articles

How to Make Blogger BlogSpot Layout As Responsive Template

How to Show Blogger Widgets in Mobile View with Simple Steps

How to Create Internal Links within The Post in Blogger

How to Display Blogger Posts in Grid View with Thumbnails

How to Get Back A Hacked Facebook Account and Secure within 10 Steps

Blogger Login Google Account: How to Create a New Google Account(Gmail)