In
this tutorial i will show you how to replace the 'Post A Comment' text that
appears above the comment form with an image. Also, I will make available to you
a few cool images or you can add your own image if you like... so let's get
started.
How to replace Post a Comment with an image
To replace "Post A Comment" message in your Blogger / Blogspot blog follow the next steps:
Step 1. Log in to Blogger, go to your Blogger Dashboard >> Design >> Edit HTML
Step 2. Tick the "Expand Widget Templates" checkbox.
Step 3. Now search (CTRL + F) for the code marked in red:
...and for this one too:
Step 4. Replace <data:postCommentMsg/> with one of the below images codes:
You can use your own image instead. Just upload your image on Blogger, switch to Edit HTML tab, copy the image code and replace <data:postCommentMsg/> with your code.
UPDATE! Step 5. The first steps will replace the text only when there are no comments available. To show the image each time new comments are added, we should add the code of the image we want to appear after the 4th of the below code (search 4 times for it):
How to replace Post a Comment with an image
To replace "Post A Comment" message in your Blogger / Blogspot blog follow the next steps:
Step 1. Log in to Blogger, go to your Blogger Dashboard >> Design >> Edit HTML
Step 2. Tick the "Expand Widget Templates" checkbox.
Step 3. Now search (CTRL + F) for the code marked in red:
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
<data:postCommentMsg/></a>
...and for this one too:
<h4 id='comment-post-message'><data:postCommentMsg/></h4>
Step 4. Replace <data:postCommentMsg/> with one of the below images codes:
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy-9PIcDme-ronoYlwBC1zSB9OVanLXRAMXKbo4FDfLn_QuDQgOW_1-8lmsrUWhEBzFYWTV3TJvBPWdcn_EG2LsleaFBiSY1oTIIx8nOppMBLHv1KZ4RrEEjaPZdtzCMKZosT4Z_zh3FA/s1600/leave+a+comment.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb4zKQplh09ur6498bdkFt84SK2w-6fB43uSVwFpz9Sq4bv3TxsAuPEv8tkyV2nKgavSLId1varmjsUOOgcLytUbiWdLeWOAQaU4kTkcp0K-DiFKbCfHT_Gp5FpNAxyq0H3jbFkiVFULg/s1600/Post+a+comment+blogger.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPL-iOtY3MvNeUe2JM0sDbK0diiLYSg6HDOH074y-im40O8aaA4gog7RWkGBJ7JYRMnav1BSRnPH87zwhozivgckI9fY28q-6oLIyEWNz5q9Q-2EAn_S2BlLFKFAv4aa8dxOvJDwNhQtxk/s1600/animated+comment+arrow.gif" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1Gk1Ca5iQwRri53txySUGfWVdT4NthDUO5LMRNGEwLFioAix_5KgsIeuxB_l7STHvrHXCyOrZcl-eVvMu4Q5MooywTZEwUr95NjxRWwafQPskUGHArUsKxlkxrt39bYFoUMcyK9xqmfmY/s1600/leave+a+comment2.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCdU_u0gfjjWR3_HfqtWyHBohUSizaJtzgq2PfzLOftn4JeVpDQC3Mosd6YmDOu1ieQUqBtf6eWuH31JcfZEVwIKyf0-Kkb60THO0caC4yc77n0DlPDHYhYA8xz1sNlJ1gDwMXfPSGNi6c/s1600/comment.gif" />
You can use your own image instead. Just upload your image on Blogger, switch to Edit HTML tab, copy the image code and replace <data:postCommentMsg/> with your code.
UPDATE! Step 5. The first steps will replace the text only when there are no comments available. To show the image each time new comments are added, we should add the code of the image we want to appear after the 4th of the below code (search 4 times for it):
<p><data:blogCommentMessage/></p>
Step 6. Save Your Template.
No comments:
Post a Comment