By adding this The commnets which were put by the admin will be hilighted with a colur.So readers can easily find your comments and it will add little beauty to your blog.Let's see how to add it to your blog.
First login to your blogger account and go to design>>>edit html
Now put a tick for expand templates widget.
Then press ctrl + f and search for ]]></b:skin> code.
After that paste the below code just above it.
.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*/ }
Now save your template.
Then search again for <data:comment.author/>
After few lines you will see a </dt>
Add below code after that(</dt>)
<b:if cond='data:comment.author == data:post.author'>
<dd class='comment-body-author'>
<p><data:comment.body/></p>
</dd>
<b:else/>
After few lines you will see a </dd> tag
Add </b:if> after that.( </dd> )
Now save your template again.You are done now.
If you got something don't forget to leave a comment.
2 comments:
I usually don’t leave remarks at blogs, but your post inspired me to comment on your blog. Thank you for sharing!
Forest Hills Audiology Clinic has been my trusted partner in the ongoing battle against auditory struggles. Their personalized care, tailored to my unique needs, has given me newfound confidence and independence in my daily life. Their commitment to my hearing health has made all the difference, and I am deeply thankful for their dedication. https://foresthillsaudiology.com/services/hearing-loss/
Post a Comment