Blogger Tutorials

How To Hide Picture in Post Page But Show in Homepage | Blogger Tutorial

Sometimes there is a need when we want to give picture to posts to appear in home or in any index page but don’t want them to appear in post page. For example you are having a blog where you usually share videos embedded on page then if you will post it and if it appear on home or any such pages then there might be no image on that index page but using this simple tutorial you can show that pic in home or in any index page but can hide it in post page. 

What are the Steps to be followed:

Here are the three steps which you have to follow to hide pic in post pages while showing them at home/archives/index pages.

1. Search for the below tag using ctrl+f


2. Add this code below the above code you searched for

 <b:if cond=’data:blog.pageType == &quot;item&quot;’>
display: none;

3. Final Step to hide pic in Post Pages

You have to go to html tab while composing the post and there you have to change separator to hidepic. Like in the above picture. Below is text example: 
<div class=”separator” style=”clear: both; text-align: center;”>
<div class=”hidepic” style=”clear: both; text-align: center;”>

Article written by:

Satyendra is a market researcher from the city of nawabs, Lucknow. Apart from blogging, his other interests are Indian rap knowledge, affiliate marketing, research, and basically anything nerdy.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

back to top