Wednesday, March 28, 2012

How to change Blogger "Post A Comment" Message

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:

<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/AVvXsEhYbtlx1HSn0W_xrqV_VXQL3bhofxzkEywBg5vTy3KhlF3f21t7TaA1sjUXs0NPiRN9wb_WSh5PT9PYIDQg9DkXIvUjp5pz1yYbSUYYvs425dAD8N6AZYQ1k8HDaI9pEuJeB36BTp5HZo0/s1600/leave+a+comment.png" />


<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEIiCC6f-1NsI84s93h_tyR_riaViRCj735n0K42y1AeyQgIBb3Bd9Z-M4xzvSFfINEgN6EjfmsX4iqRcGWRiXEOKwLJwZ2S_VLfq1G4TxSzpqRe41VtyxjqAfN17F6PmPXAx9N7ONvZk/s1600/Post+a+comment+blogger.png" />


<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJj00C5b0YYECtyLZjcFsBsS94e6QKG8YfP1bMAZZuLqVm1I0ur2n00ouCCFSdJa18IFIWl5-klb1MB4VV6Ar_FoOH8EKiUYPE4Hhn7KoM7jtGn1YgzzfI8Kf3a7pO6NEGGsK6k1aUPSwE/s1600/animated+comment+arrow.gif" />


<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbgbliMSetn_5cW9cY5jB66h-ozM9fvPB79m6B-YKcUz5EKF7jg3Ux4E6riF5ZnBwW9B1kQzkXOtefp8tmQIkFpBnmw4_KWMhfLCIejJTMUi5w-Usd709mXb-gWoc7lFwMwRNqutcXrX4M/s1600/leave+a+comment2.png" />


<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk_iQQV9ReaPS1KShfyieOb34RNYnampe_U-tKD621G1fNUlaLxsvwTzsF2XYhcUux5qt5ChtOnTHgI7VrW2UlmDMv8h5iG-CP5BkqQu6Yb4r5uz9VYxu4YvhqHirbwQUtYq_sEh-U4OTJ/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.


Thats it! I hope you like your new comment form !

adsense

0 comments:

Post a Comment

 
 
Copyright © blog
Blogger Theme by Blogger Designed and Optimized by Tipseo