To hide images/pictures from blogger posts and make them appear only in homepage, we will 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
Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box:
Step 3. Type or paste this code inside the search box then hit Enter to find it:
]]></b:skin>
<b:if cond='data:blog.pageType != "index"'>Step 5. Save the Template.
<style>
.hidepic{
display: none;
}
</style>
</b:if>
Now, each time you create a post, first add the picture that you want to hide and then switch to the HTML tab where you'll see the HTML code of the image that you added - it will look something like this:
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYeZ_XNc73lmtieckJr8Nf4UMhpErxWybrKjdtoyOpDuKeO3VhnkFc8mGgzFSNnMtczWBP8LAiTIRljmuJ4VRtPOBggxPy29E_86HZKukM2VQpq8l1MX-Ochqa7nYZ_bDscL4_D4M_WIg/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/AVvXsEjYeZ_XNc73lmtieckJr8Nf4UMhpErxWybrKjdtoyOpDuKeO3VhnkFc8mGgzFSNnMtczWBP8LAiTIRljmuJ4VRtPOBggxPy29E_86HZKukM2VQpq8l1MX-Ochqa7nYZ_bDscL4_D4M_WIg/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.
· Mortgage Adviser Insurance donate old cars to charity Transfer Blogs Based On Donations Hosting iPage Donate Laws and lawyers Rehab UK Canada Health domains yahoo · World Trade Center Footage Loans Recovery NUNAVUT CULTURE mesothelioma survival rates Attomey mesothelioma attorneys california Mortgage Credit Software Bluehost Web Hosting and Domains Lawyer Treatment Classes MISSISSIPPI MESOTHELIOMA LAWYER ANNUITY SETTLEMENT mesothelioma suit Donate Car for Tax Credit Donate cars in ma AUTO ACCIDENT LAWYER DENVER Claim Degree ACCIDENT AND INJURY ATTORNEY Gas/Electricity Conference Call Donate Car to Charity California · Car Accident Lawyers Cord Blood Trading Cooking Recipes mesothelioma claim Attormey WebHostingHub Mesothelioma Law Firm Online Classes Blogging Making Money online STRUCTURED ANNUITY SETTLEMENT STRUCTURE SETTLEMENTS DAYTON FREIGHT LINES Health Business structured settlement annuity companies structured settlements annuities structured settlement buyer Data Recovery Services small business administration sba Geographical Location of the Visitors Insurance Blogs
0 comentarios:
Publicar un comentario