Seo Master present to you:
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 != "index"'> 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;"> 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. 2013, By: Seo Master
|
Labels: Blog Design, Hacks, How To, posts