Add a Different Background For Author Comments in Blogger's Threaded Comments
tmirror
Add a Different Background For Author Comments in Blogger's Threaded Comments
In this tutorial we will learn how to highlight the author comments so that they will have a different background color, border, or anything that makes them stand out from the others. To achieve this, we need to add a code in the Blogger's template and to modify the style according to our preferences. How to highlight author comments in Blogger: Step 1. Go to Template, click on Edit HTML Step 2. Click anywhere inside the code area and try to find - using CTRL + F keys - this tag:
</body> Screenshot: Step 3. Just above it, paste the following code:
<script src='http://code.jquery.com/jquery-latest.js'/>
<script>
$(function() {
function highlight(){
$('.user.blog-author').closest('.comment-block')
.css('border', ' 1px solid #FFA500 ')
.css('background',' #F1F1F2 url(" http://www.blogblog.com/1kt/transparent/white80.png ")')
.css('color', ' #444444 ')
.css('font-size', ' 12px ')
.css…