I will discuss how to modify the blog's comments display a different blog with the visitor.
The first step that you need to do is log in and go to the blogger Layout menu and then enter the Edit menu HTML
Do not Forget check "expand widget templates"
Then put this code under the code above ]]></ b: skin>
. comment-body-author (
background: # FFFF29; / * Background color * /
border: 1px dotted # FF2929; / * Border * /
margin: 0;
padding: 0 0 0 20px;
)
The next step is still in the Edit menu HTML and marked "Expand Widget Templates" is still check
Then, under this Code Search
<dl id='comments-block'>
<b:loop values='data:post.comments' var='comment'>
<dt expr:class='"comment-author "+ data:comment.authorClass' expr:id='data:comment.anchorName'>
<a expr:name='data:comment.anchorName'/>
<b:if cond='data:comment.authorUrl'>
<a expr:href='data:comment.authorUrl' rel='nofollow'> <data:comment.author/> </ a>
<b:else/>
<data:comment.author/>
</ b: if>
<data:commentPostedByMsg/>
</ dt>
<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<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>
<dd class='comment-footer'>
<span class='comment-timestamp'>
<a expr:href='data:comment.url' title='comment permalink'>
<data:comment.timestamp/>
</ a>
<b:include data='comment' name='commentDeleteIcon'/>
</ span>
</ dd>
</ b: loop>
</ dl>
Note that Code Red is the code that you must add the code above the black
Remember the placement of a red code must be correct, then note the code blue was Tags
If you are then Save and see the results
No comments:
Post a Comment