Change Author Comments Style In Blogger





Comment is also a very important part in blogger . its help to make contact between author and visitors . But if all comment is look like same then visitors not easily find authors comment . So , with this step you can edit your blogger comment style for author . its all about author's comment highlight to your pageviewer to see easily your comment . its make easily to read authors comments . you can highlight your comment body part see in screenshot ) .

so today i am tell you how to change author comments style in blogger with some few easy steps .

How To Change Author Comments Style In Blogger ?


1. Go to blogger > Template .
2. Backup Your template .
3. Click on edit HTML then click on ' Expand Widget Templates ' box .
4. Find (CTRL+F) this code :

]]></b:skin>

 5. Just before this code paste this code :

.thetricksfree-comment-body {
color: #008000;
border: 1px solid #008000;
background: #FFFFFF;
margin:0;
padding:0 0 0 10px;
width:520px;
}

6. Now Find This Code :


<data:commentPostedByMsg/>
          </dt>

          <dd class='comment-body'>
            <b:if cond='data:comment.isDeleted'>
              <span class='deleted-comment'><data:comment.body/></span>
            <b:else/>
              <p><data:comment.body/></p>
            </b:if>
          </dd>

7. Replace it with this code :

<data:commentPostedByMsg/>
          </dt>
<b:if cond='data:comment.author == data:post.author'>
<dd class='thetricksfree-comment-body'>
<p><data:comment.body/></p>
</dd>
<b:else/>

          <dd class='comment-body'>
            <b:if cond='data:comment.isDeleted'>
              <span class='deleted-comment'><data:comment.body/></span>
            <b:else/>
              <p><data:comment.body/></p>
            </b:if>
          </dd>
</b:if>

8. Save your template ..

Enjoy Blogging !!

0 comments:

Post a Comment

Share
 
Copyright © . TheFreeTrick - Info: Company Info | Contact Us | Privacy policy
Thetricksfree : Site map | DMCA | Powered by Blogger