Show Blogger Image only in Homepage and Hide it in Post Page


To hide images/pictures from our blogger posts and to make them appear only in homepage, we will have to add just a small piece of CSS code in our template and then use the class "hidepic" each time we want to hide an image.

Just follow the next steps:

Step 1. Go to Dashboard - Template - Edit HTML ( click on Proceed button )


 Step 2. Select "Expand Widget Template" (make a backup)

     Step 3. Find (CTRL + F) this code in your template:

        }]]></b:skin>

    Step 4. Copy and paste the following code just below it

    <b:if cond='data:blog.pageType != &quot;index&quot;'>
    <style>
    .hidepic{
    display: none;
    }
    </style>
    </b:if>

    Step 5. Save the Template.

    Now everytime you create a post, firstly add the pic you want to hide and then switch to HTML tab where you'll see the HTML code of the image you have added that will look something like this:

    <div class="separator" style="clear: both; text-align: center;">
    <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMYmUQVkbz_3-obLp6fgdWAbk2eu2pW_6KclR2HYUH1CGEuovRImgQPNoeJ7uapZRhpJSgONS2V43zrYElyXFjpk3eqkqZIvh-XXTgCQgqc2X9Xq3nbdmHDnDJV6nMAidC2F6HBgx2MMY/s1600/fire_bird_by_fhrankee-d32af8v.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMYmUQVkbz_3-obLp6fgdWAbk2eu2pW_6KclR2HYUH1CGEuovRImgQPNoeJ7uapZRhpJSgONS2V43zrYElyXFjpk3eqkqZIvh-XXTgCQgqc2X9Xq3nbdmHDnDJV6nMAidC2F6HBgx2MMY/s320/fire_bird_by_fhrankee-d32af8v.png" width="320" /></a></div>

    Note: it should be at the exact location where your image has been added 
    (if the image is at the middle of the text, then the code should be found at the middle)

    Step 6. Replace "separator" with "hidepic" - see the screenshot below:


    If you need more help, please leave a comment below.

    How to Remove Showing Posts With Label in Blogger

    label, blogger, remove, how to

    For any default Blogger layout, the "Showing posts with label" message shows up above the posts whenever you click on a label link. As it's a pretty useless and annoying message, many people like to have it removed. If that is your wish, just follow the tutorial below:

    Removing "Showing post with label...show all posts"

    Step 1. Go to Dashboard - Template - Edit HTML (if necessary, click on Proceed button)


    Step 2. Click somewhere inside the template code, then search - using CTRL+F - this code:

    <b:includable id='status-message'>

    After you found it, click on the sideways arrow next to it, to expand the rest of the code.

    Screenshot:

    Step 3. Below is this code that you need to remove - along with the first one, as well:

         <b:includable id='status-message'>
          <b:if cond='data:navMessage'>
          <div class='status-msg-wrap'>
            <div class='status-msg-body'>
              <data:navMessage/>
            </div>
            <div class='status-msg-border'>
              <div class='status-msg-bg'>
                <div class='status-msg-hidden'><data:navMessage/></div>
              </div>
            </div>
          </div>
          <div style='clear: both;'/>
          </b:if>
        </b:includable>

    Screenshot 

     Step 4. Replace it with this one:

    <b:includable id='status-message'>
    <b:if cond='data:navMessage'>
    <div>
    </div>
    <div style='clear: both;'/>
    </b:if>
    </b:includable>

    Step 5. Save the template. Now view your blog and click on some label....there should be no box anymore.