In this tutorial I want to show you how to replace the 'Post A Comment' text that appears above the comment form with an image. Also, I added a few cool images that you can use but you can as well add your own image, that depends on your tastes. So, let's start adding it!
How to replace Post a Comment with an image
In order to replace "Post A Comment" message in Blogger / Blogspot, follow the steps below:
Step 1. Log in to Blogger, go to your Blogger Dashboard and select your blog.
Step 2. Go to Template and press the Edit HTML button
Screenshot |
<a expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>...and for this one too:
<data:postCommentMsg/></a>
<h4 id='comment-post-message'><data:postCommentMsg/></h4>Step 4. Replace <data:postCommentMsg/> with one of the below image addresses:
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsaS4QchnXOfAvD8t4VqJfpTFSnThUliqK0Za_VSCQ1pIIZgK8EJ4iPgSadcjyiq3BvtRkrk98M_MuYvL8-aJrnaQtDReCaQj38qihyphenhyphenHGeLRd_LLgYp2p7K5IrbprIRx5-qMRU6ZzKbHU/s1600/leave+a+comment.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJV1UndBQ9cbRhVVHanPNvLujvhJVfhPD-_mLzetUz_4z0OSfua0C7KaXdHmsdtpyNZArtbotDlxMdS36eNcUBW2B59MZVRkj4loVV1lnqT6wRTvoIEE-w1U-y0HDon3FMNf92GiRanfg/s1600/Post+a+comment+blogger.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgI1wkjxS1FdqcwlJD61cj5U5JrSaok2fKQGoyu71p6VqYVUjJTm_jQgnMC6ZZV5piPnLKJ0W_W6wF752gxLX2z6crlUvD9iongVQRDuKBkQjX7CI9AHf3AgjCvAEIDoYfNS5skkyrMRl2/s1600/animated+comment+arrow.gif" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmlHIhw9d-Oq2DSiPt9ks9ezO4oQHYwaNh3Ehnh_X0A2hX8UC_bM18qazalt1wzpvZqs9ic4NJ5kDcT3HvFz7LR-Q4iD26VSDuBXUILfr3fW3AF0BxtmwNIjxbwRwCDiWeURtghdYtwkd-/s1600/leave+a+comment2.png" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJFLlKJE0lHSmZ0cg9LURbCyv6S1RvcZhVkHvYQViiiqVnbcW4VcX7GxpPQz1SVES_vOM8KgCzTUymUSA4qLDNr5NMeInTFde2ym0nm30I8yBMpK2-In-v7D9lc9NH5Bd-wcd5g-Q3k5U6/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 (you'll find it in more than one location):
<p><data:blogCommentMessage/></p>
If you want to center the picture, just put the code between the "center" tags... like this:
<center><img src="Image-URL"/></center>Step 6. Save Your Template.
Thats it! I hope you like your new comment form!
0 Comments