How To Add Numbers To Blogger Threaded Comments

Customizing your comment box is somewhat tricky in order to let your readers drop a comment to your post.One of my previous post features on how to customize author's comments background  comments box but it doesn't contain any numbers to distinguish how comments being dropped in that particular post.  Today I will share to you  a  simple CSS tweak which will add numbers to your threaded comments inside a comment bubble.It will add numbers like this way 3,3.a,3.b & 4 here 3,4 are the main comments and 3.a,3.b are the replies. In order to apply this trick in your threaded comments, you just simply follow the simple steps below!

blogger threaded comment bubble


Add Numbers To Blogger Threaded Comments


Step 1. Go to Blogger Dashboard
Step 2. Hit the Template buttom (have  a copy of your template and save it in a safe place)
Step 3. Click On Edit HTML
Step 4. Now search or Control F for the code below
]]></b:skin>
Step 5. Just above that code in step 4 place the following code below
.comment-thread ol {
    counter-reset: countcomments;
}

.comment-thread li:before {
    content: counter(countcomments,decimal);
    counter-increment: countcomments;
    float: right;
    font-size: 22px;
    color: #555555;
    padding-left: 10px;
    padding-top: 3px;
    background: url(http://3.bp.blogspot.com/-f6ByQfbwApQ/T4x_8p1FGpI/AAAAAAAAB2A/WJKf-ybmvQk/s1600/comment+bubble2.png) no-repeat;
    margin-top: 7px;
    margin-left: 10px;
    width: 50px;
 /*image-width size*/
    height: 48px;
 /*image-height size*/
}

.comment-thread ol ol {
    counter-reset: contrebasse;
}

.comment-thread li li:before {
    content: counter(countcomments,decimal) "." counter(contrebasse,lower-latin);
    counter-increment: contrebasse;
    float: right;
    font-size: 18px;
    color: #666666;
}

Step 6. Save your template and congrats! Enjoy ;-)

Customization:


  • To adjust the position of text (number) from left position, edit the value (padding-left: 10px)
  • By editing the value ( padding-top: 3px ) you can adjust the position of text (number) inside bubble from top position.
  • By editing the value attributes ( margin-top: 7px ) you can adjust the position of bubble from the  top position.
  • Increase or decrease the value ( margin-left: 10px ) as per your requirements in order to adjust the position of the bubble from the left position.
  • If you want to change the bubble image then simply replace image URL with yours. Or you choose one of the url below to replace your comment bubble image.

http://2.bp.blogspot.com/-Vy5WHSIbFgg/UlLHm3htRRI/AAAAAAAABy4/zXoEOxZXCuk/s1600/devil+comment+bubble.png
http://4.bp.blogspot.com/-RANNDG7T4wQ/UlLH8mnV8KI/AAAAAAAABzA/tmIMNU-28KI/s1600/text_comment_bubble_comments.png
http://4.bp.blogspot.com/-ylkeWmNehg4/UlLILVGnEFI/AAAAAAAABzI/ceBTnn8b9lQ/s1600/comment_bubble.png
http://4.bp.blogspot.com/-wN_NTEKKE84/UlLImYlOTrI/AAAAAAAABzQ/4hzM7OgDASQ/s1600/bubble+comment.png
http://2.bp.blogspot.com/-XKAGzqMO0_Q/UlLIywev4CI/AAAAAAAABzY/Db_tmfbXC3c/s1600/comment+bubble+red.png
http://3.bp.blogspot.com/-_wFTlxVUMyY/UlLPIxfijdI/AAAAAAAABzw/z3GOBgQ7ZaA/s1600/heart+1.png
http://2.bp.blogspot.com/-JaUL6mI0oSU/UlLPeezQuNI/AAAAAAAABz4/j4JaQ-f0zVQ/s1600/pink+bubble+icon.png

I would say thanks  to helperblogger for the initial codes in this tutorial.





About the Author:
tilt  hover effect
Hello folks! This is GOLDEN WORKS TV, the admin of this blog. No words could described my grateful appreciations to all newbie and professional bloggers around the world and most especially to Almighty God who gave me the wisdom...Read More
Follow him @ Twitter |Facebook

No comments :

Post A Comment!

Post A Comment!
We love to hear your feedbacks and suggestions. We will try our best to reply to your queries as soon as time allows. Please keep in mind that all comments are moderated manually by our editors team to minimize spamming, and all the links are nofollow.

Note:
1. To add HTML code in the box, please use our HTML editor generator.
2. Please do not spam. Those type of comments will be deleted upon our review.
3. We should appreciate an individual and suggestive discussion.

Best Regards,

GOLDEN WORKS TV

Related Posts Plugin for WordPress, Blogger...