ဒါေလးကေတာ့Highlight Author Comment in Blogspotေပါ့ေနာ္၊ ဘေလာ့ပိုင္ရွင္ေရးတဲ့Comment
နဲ႕မိမိရဲ့ဘေလာ့မွာသူငယ္ခ်င္းေတြေ၇းေပးသြားတဲ့Commentေတြကိုမတူေအာင္လုပ္တဲ့နည္းေလးပါဘဲ၊
ဘေလာ့ပိုင္ရွင္ေရးတဲ့ Comment ဆိုရင္ေဘာင္းေလးနွင့္ေပၚလာတယ္ေပါ့ေနာ္.......သံုးလို႕ေကာင္းတဲ့
blogger hackတမ်ိဳးပါဘဲ။စိတ္ဝင္စားရင္ေတာ့ေအာက္မွာျပထားပါတယ္
၁။click Layout
၂။click edit HTML
၃။Expand Widget Templates
ေအာက္က Code ကိုရွာပါ
]]></b:skin>
ေတြ႕ျပီဆိုရင္အေပၚမွာCSS areaမွာေအာက္ကဟာကိုထည့္ပါ။
.comment-body-author {
background: #E6E6E6; /* Background color*/
color: #000; /* Text color*/
border-top: 1px dotted #223344;border-bottom: 1px dotted #223344;border-left: 1px dotted #223344;border-right: 1px dotted #223344;
margin:0;
padding:0 0 0 20px; /* Posotion*/
}
ေအာက္က Code ကိုထပ္ရွာပါ
<dl id='comments-block'>
<b:loop values='data:post.comments' var='comment'>
<dt class='comment-author' expr:id='"comment-" + data:comment.id'>
<a expr:name='"comment-" + data:comment.id'/>
<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>
said...
</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='"#comment-" + data:comment.id' title='comment permalink'>
<data:comment.timestamp/>
</a>
<b:include data='comment' name='commentDeleteIcon'/>
</span>
</dd>
</b:loop>
</dl>
အေပၚက အနီ Codeေတြကိုမိမိရဲ႕ဘေလာ့ HTMLCode မွာထပ္ျဖည့္ေပးလိုက္ပါ
၄။Save Template button.ႏိုပ္ပါ၊
မိတ္ေဆြအားလံုးအဆင္ေျပၾကပါေစ
အားလုံးကိုခ်စ္ခင္ေလးစားတဲ့ kp3 မိသားစု
ေက်းဇးူကမာၻ
0 comments:
Post a Comment