Want to know how to hide specific images from blogger posts pages and to appear only in homepage? In this tutorial we'll learn how we can do this! So let's start hiding our images from posts pages:
Step 1.
If you are using the old Blogger interface:
- Go to Dashboard - Design - Edit HTML - Expand Widget Template (make a backup)
- Go to Dashboard - Template - Edit HTML - Proceed - Expand Widget Template (make a backup)
}]]></b:skin>
<b:if cond='data:blog.pageType != "index"'>
<style>
.hidepic{
display: none;
}
</style>
</b:if>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiDbFaBMclm81PcWx8GK9etcveR9Nbfua-zjokPl1VGdYngFOzdR63HNUie8UGoiIRjBg46sL6t7Fix8Bkze6JFCklXQGKGaZdS_ty0YGGsGLOIGWiJjANnsnCw78b0ToYRn35R6E8RAU/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/AVvXsEhiDbFaBMclm81PcWx8GK9etcveR9Nbfua-zjokPl1VGdYngFOzdR63HNUie8UGoiIRjBg46sL6t7Fix8Bkze6JFCklXQGKGaZdS_ty0YGGsGLOIGWiJjANnsnCw78b0ToYRn35R6E8RAU/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 located also at the middle)
0 comments:
Post a Comment
Please don't spam. We hate spammers