November 3, 2008
Ok, if you don't know what are Embedded Comments, or want them on your Blog, read this article.
Here, we are going to customize them a little bit. On the picture below, you can see the default appearance of embedded comments.

Looks all right, but we can do better...
First thing, back-up your template. Then go to: DASHBOARD -- LAYOUT -- EDIT HTML. Find the following part of code (use CTRL + F for searching):
#comments h4 {
margin:1em 0;
font-weight: bold;
line-height: 1.4em;
text-transform:uppercase;
letter-spacing:.2em;
color: $sidebarcolor;
}
#comments-block {
margin:1em 0 1.5em;
line-height:1.6em;
}
#comments-block .comment-author {
margin:.5em 0;
}
#comments-block .comment-body {
margin:.25em 0 0;
}
#comments-block .comment-footer {
margin:-.25em 0 2em;
line-height: 1.4em;
text-transform:uppercase;
letter-spacing:.1em;
}
#comments-block .comment-body p {
margin:0 0 .75em;
}
.deleted-comment {
font-style:italic;
color:gray;
}
DELETE it, and REPLACE it with following code:margin:1em 0;
font-weight: bold;
line-height: 1.4em;
text-transform:uppercase;
letter-spacing:.2em;
color: $sidebarcolor;
}
#comments-block {
margin:1em 0 1.5em;
line-height:1.6em;
}
#comments-block .comment-author {
margin:.5em 0;
}
#comments-block .comment-body {
margin:.25em 0 0;
}
#comments-block .comment-footer {
margin:-.25em 0 2em;
line-height: 1.4em;
text-transform:uppercase;
letter-spacing:.1em;
}
#comments-block .comment-body p {
margin:0 0 .75em;
}
.deleted-comment {
font-style:italic;
color:gray;
}
#comments h4 {
margin: 1em 3em;
font-weight: bold;
line-height: 1.4em;
color: #ffffff;
}
#comments-block {
margin-left:1.5em;
line-height:1.6em;
background: #ffffff;
color: black;
padding: 1em;
border:0px solid #ffffff;
}
#comments-block .comment-author {margin:.5em 0;}
#comments-block .comment-body {margin:.25em 0 0; background: #ffffff;}
#comments-block .comment-footer {
margin:-.25em 0 2em;
line-height: 1.4em;
letter-spacing:.1em;
}
#comments-block .comment-body p {
margin:0 0 .75em;
padding: 20px 10px 10px 10px;
background: #f3a64c url(http://i38.tinypic.com/27yu1xl.jpg) no-repeat top left;
}
.deleted-comment {
font-style:italic;
color:gray;
}
The URL in red color is the address of picture used in this tutorial. If you would like to use that one, it's ok. But, also, you can make your own pic. Just size it properly.margin: 1em 3em;
font-weight: bold;
line-height: 1.4em;
color: #ffffff;
}
#comments-block {
margin-left:1.5em;
line-height:1.6em;
background: #ffffff;
color: black;
padding: 1em;
border:0px solid #ffffff;
}
#comments-block .comment-author {margin:.5em 0;}
#comments-block .comment-body {margin:.25em 0 0; background: #ffffff;}
#comments-block .comment-footer {
margin:-.25em 0 2em;
line-height: 1.4em;
letter-spacing:.1em;
}
#comments-block .comment-body p {
margin:0 0 .75em;
padding: 20px 10px 10px 10px;
background: #f3a64c url(http://i38.tinypic.com/27yu1xl.jpg) no-repeat top left;
}
.deleted-comment {
font-style:italic;
color:gray;
}
Ok. This is how it how it looks like now. But, keep in mind that you can do a lot more with just changing the code a bit. Here's another example, done with the same template as before...I've changed the template background, added some borders to comment box, and colored it blue...Not much, but it's already happier.....
One more thing. If you want to change the "Post a comment", to something else (like "say something"), find the following code (EXPAND WIDGET TEMPLATES):<h4 id='comment-post-message'><data:postCommentMsg/></h4>
..and REPLACE the part in red with anything you want. So it will look like this:
<h4 id='comment-post-message'>Say something...</h4>
Well, this was a long one.....Smile!

















68 comments:
good post !...i want tell u your feedburner feed its not ok..i try to subscribe your feed in my blog and...works bed..why?
Thanks Mirela...
How do you mean it's bad? You can't subscribe, or? Nobody else had problems...Sorry.
hey, hi!! could you tell me how to include a feed for commenter's email in comments' template, pls?? and if yes, would it be possible for commenter who haven't Blogger/Google account to subscribe by email? thanks, and have a happy 2009!!
oh, i forgot, sorry. could you also tell me how to enable commenter's avatar in embedded mode of comments? thanks again!!
You'll kill me...but I don't understand what do you want? For the first question....
About the Avatar ► I'm not sure how to do it...when I figure it out, I'll let you know...
Smile!
:)))sorry, i meant is it possible to insert a field for commenter's email in the comments' template. Thanks for answering; and
Smile too!!
I really like this site:))
Hey Alice....
Honestly, I don't know...I've never came across this in Blogger...I'll check it out..
:]
WOW! This blog is great!
I only want my comments as an author to appear in an orange box and the rest to remain unchanged in my embedded form.
How would that code of yours be altered?
Thanx!
Seems like you've got it!
Smile!
hmmm yea i used a different code i found elsewhere. Thanx anyway!
Hi...
Nice article...but I have a little problem when try it..
Why...in my blog...... the author link putted inside the box...
My blog is :
http://apabro.blogspot.com/2009/01/rred.html
Thanx for help... & God Bless Us...
Hey Apabro...You're using a customized template, and some comments styles are interfering...Try this, but I can't promise this will work.
Find this in your code:
.blog-author-comment {
margin:0 0 .75em;
padding: 20px 10px 10px 10px;
background: #f3a64c url(http://i38.tinypic.com/27yu1xl.jpg) no-repeat top left;
}
.blog-nonauthor-comment {
margin:0 0 .75em;
padding: 20px 10px 10px 10px;
background: #f3a64c url(http://i38.tinypic.com/27yu1xl.jpg) no-repeat top left;
}
DELETE IT...(cut it and paste in notepad, in case you need to put it back).
Check your comments now. If this doesn't work, place the code back. In this case, you'll have to change some names in CSS, to get it all under same style....
Wow...
thanks for very fast reply...
this is my template after I deleted that code...
Maybe I must change some name in CSS...Can You explain it to me ?!
If you need my blogger's username and password, I will give it..
Hi, Pocket--
I've rad through your how-tos and am wondering if there is a way to allow default embedded comments to be collapsed. Then, if a reader wanted to see them, they could expand the comments. No need to collapse the posts for this one--just the comments. Any ideas?
--Jamie
Pocket,
I should add to the above that post that I actually found where this is being used! In Blogger, if you choose to have comments open up on their own page, a small show/hide link at the top will expand and collapse comments. Id there any way to import this functionality for comments embedded below posts?
As the blog, I still in progress, you can view my comment test here:
http://elementaryauthors.blogspot.com/
(first post entitled, "Testing, Testing 1, 2, 3). Leave a comment to see show/hide function.
Thanks again,
--Jamie
Hey Jamie...
You can get this to work on your main page, but I've never tried with embedded comment form...Will do. In the meantime, try this:
Peek-a-boo comments
Smile!
Thanks Pocket--great link and info. Am testing it out!
--Jamie
Pocket, Just implemented thsi comment style in my blog and wanted to share a comment box like you use, but with a black background. Enjoy, bloggers!
http://i43.tinypic.com/33xk5s8.gif
--Jamie
Hi.. sory if bother you again.
Just wanna ask, i tried to do exactly like you've mentioned above but in result i lost that "Post-Something" and the there's misalign with the pic.. would you mind to check it out? http://asasasasafvfvfvfv.blogspot.com/2009/02/tes3_07.html
Radith,
you're not bothering...I encourage you to ask whatever you need...
About the misalignment. Picture has a fixed width..Your post area is wider, and the background has exceeded the pic..
Solution: download the pic to your comp, re-size it (make it wider), and when you do, upload it to a free picture hosting service and integrate in the template again...
Ok?
i've done it and still no luck >_< i made the pic the same size with my main-wrapper.. no luck, made it a little wider than before ( 493 px ) same problem.. i think i've had it enough, hehehe..
i'm using some plugins for a while.. and i'm back to old blogger comment-system.. i tried google friend connect, disqus, and intense debate.. i've succeed implemeted the two first but failed to make the intense-debate to showed up.
my conclusion are : those plugin are usefull..especially to make a threaded comment ( no need to use @... ) and even posted a video ( gfc )
p.s : sory if my words are out-of-topic..:Peace:
Just make sure to check if they provide back up for your comments...So when you decide to switch comment system, that you don't lose them...
You are completely not out-of-topic...
Smile!
how about using classic template?
im done on embed comments using classic template.
so i tried to copy ur costumizing on my css style but its not working .. do u have any idea how it works using classic template to costumized the comment body? thanks :D
Sorry, I have no experience with classic templates...
:[
whoaaa.. but i think i will give u my code on my embed comments using classic temp. so u you can get an idea i think? if you want i will send it to your email and tweak it! :D thanx!
How can we customize the date and time stamp portion of the comments?
For example see the following blog which has time and date on right side and with a border.
http://tips-hindi.blogspot.com/2008/09/blog-post_15.html
Hey =)
Its been a little while but Im just in the process of changing my layout and I want the 'Comment As' and 'Subscribe by email' to show up but they seem to be in black and I don't know how I can change that =) thank you.
Hey LaaLaa...
This is how it looks like on my side:
Picture
..what do you want exactly?
Basically where my comment box is underneth the post where the words - 'comment as' and 'subscribe by email' are they are not visable unless I highlight them. Im wondering if theres a way for me to change the colour.
this is a printscreen of how it looks on my screen:
http://img26.imageshack.us/my.php?image=image1iqu.png
LaaLaa,
..this should wake up the "Comment as":
#comments {
color:#D2C6A7;
}
..the "Subscribe to comments" link..well, I really don't know what's wrong. If I figure it out, you'll know...
pocket
Thanks, I added this in my blog. It took some work to find the exact color but it works fine.
One question? Based on this code for my comments, how could I edit the code to have my comments as the blog administrator in a diffrent color? (Id have to change both the background pic and the background color)
Elete,
...sorry, I don't have a tut on this one...Yet. You'll have to "google it":
highlight author comments blogger
...
hey pocket,ur hacks are working gr8 on my blog.
going to tel all my frnds about ur site,keep it up......
thanks a lot!!!
@Eleté
I found one in bloggerbuster : http://www.bloggerbuster.com/2008/05/how-to-highlight-author-comments.html
i've tested in my test blog and it worked, but i still try to figure how to show photo on it.
--
hi first of all thanks a lot for this TUT!
By the way I have started using blogger from a green coloured template probably Son of Moto (Mean Green Blogging Machine variation) and as I have some knowledge about CSS so I tweaked it much and made a fluid template from it! So I noticed that we need to define the width for the background so that the image does not get overlapped by colour! Heres what I have used
#comments h4 {
margin: 1em 3em;
font-weight: bold;
line-height: 1.4em;
color: #ffffff;
}
#comments-block {
margin-left:1.5em;
line-height:1.6em;
background: transparent;
color: black;
padding: 1em;
border:1px groove #ffffff;
}
#comments-block .comment-author {margin:.5em 0;}
#comments-block .comment-body {margin:.25em 0 0; background: transparent;}
#comments-block .comment-footer {
margin:-.25em 0 2em;
line-height: 1.4em;
letter-spacing:.1em;
}
#comments-block .comment-body p {
margin:0 0 .75em;
padding: 20px 10px 10px 10px;
background: #ffffff url(http://i44.tinypic.com/von9y8.jpg) no-repeat top left;
width: 460px;
}
btw please consider making a tut on highlighting author's comment upon the css used in this tut! As I was not able to find which will work like this tutorial! As they have asked to change dl to ul from the comment widget! So the codes used here stopped working when I used blogerbuster codes!
Thanks again :)
Ohk got it!
http://www.bloggerbuster.com/2008/05/how-to-highlight-author-comments.html
They have used class and here element id is used to apply the css! Even the name of class and id are also different! Well I think u should give us a short tut [like always :)] to divide the comment widget under 2 category like as u have done :)
oh! got it! Sorry for bugging you and flooding your comments section :D
PS: I have followed this tut :) http://trick-blog.blogspot.com/2008/11/highlight-author-comment-in-blogspot.html
HI Pocket
Sorry for asking again
How can we customize the date and time stamp portion of the comments?
For example see the following blog which has time and date on right side and with a border.
http://tips-hindi.blogspot.com/2008/09/blog-post_15.html
hi pocket,
good nights =)
I was off for a while.
was sick, a very bad one. Can not move from my bed. Even my eyes were so tired. Anyway, I was bringing together my widget stuff. And tried to roll the tutorial on my other site (the turkish one - pusulamuna.blogspot.com)
So for that thank you again. I am just trying to switch the language part there.
Here, where the widgets are gone, I did the colourful comment section, as I tested them (saw them) my older comments.
The thing is, when someone wants to make a comment, they click on it, bu the page never show up. What could have been happened?
Thank for already,
and good cares to you.
muna
@उत्तम सक्सेना
maybe you'd like to check the stucture of comment system in blogger http://lh6.ggpht.com/jaloee/SK761PLrHsI/AAAAAAAACio/Px5s6Tieh0w/gam%2007_thumb%5B2%5D.png?imgmax=800 --> taken from http://catalog-tutorial.blogspot.com/2008/08/mempercantik-area-komentar-episode-2.html
by reading that article i have a more knowledge on modifying the comment section ( even i'm still nobb on it )
,afaik, we can do that by giving the float properties and border to the
#comments-block .comment-footer {
...
...
float:right;
border:1px solid #000;
}
cmiiw
@ Pocket
How you manage to get the Hex color code of the image you have used! are u using any color picker! Can you please tell me :)
Hi Pocket! First of all, I'd like to congratulate you on your fantastic blog. You have so many suggestions I'd like to implement!
My question is: is there a way to nest the author's reply underneath the relevant comment? I have seen this feature on Wordpress blogs, and I think it looks really nice.
Thank you so much!
Swashata,
..what do you mean when you say hex color? You want to get the same color as the picture has? Or?
Katie,
..the answer is no. At least for the default Blogger comment system. But, you can integrate a third party comments like JS-Kit, or CommentLuv, which have these options....
@pocket
i just read and saw on akubonto's blog that blogger can have the threaded comment system without have to use 3rd party comment, but yes, it use js to make it happen.
@ Pocket
Yes I want to get the same color code as that of the picture! Like if I design the picture in Corel PP then is there any way to get the HTML color code for that?
and one more question! As you have mentioned we can use a third-party comment system which one would you prefer out of these --> Disqus, Intense debate, CommentLuv
I have installed intense debate because for that only I could find the hack of installing it manually
I have installed the code, but it's not working on my blog - if you get a chance can you take a look and see if you can figure out why???
Thanks!
~TidyMom
Is there a way to remove the blogger icon from before the name of the person who's commenting?
same here like beth.. how to remove the blogger icon before the name of the commenter?
Thank you so much for this tutorial. However, is there a way to make comments and letter look smaller? thanks!
Hi!
Your tutorials are great help to us bloggers. I do have a comment-customization question. I'm trying to customize my friend's blog and I was wondering if you knew how to change the little icon next to the user's name in the comments section. The little rounded corner one over there
<------
I've been trying everything and I can't figure out where I should change the code. Thanks for your help!
hi, I have question.
when I view the whole page of my blog, the comments never display yet I had click "Show" at the comment setting...
anyone can help ?
Good Post, but I wanna ask something...
My blog background is black but text "Comment as:" is also black. So I can't see the text. How do I change the color to black which is like yours?
Good Post, but I wanna ask something...
My blog background is black but text "Comment as:" is also black. So I can't see the text. How do I change the color to black which is like yours?
It's Work for me, thank's..
Nice Post
Hello pocket!
I have a little favor or a problem, name it you're way :). I used the orange image that you have in the code and now i want to change it but i can't size my pic well. Anyway i want a dotted frame arround my comment and i don't know how to do it. Here is an example of what i want: http://i281.photobucket.com/albums/kk238/Dyenootza/thyryn.jpg?t=1247320503
Thx!
Hi Pocket,
Your tutorial works very well on my blog.
But I want my comment in a different background like what you have here.
As you can see in my latest post, I have post my answer in the comments section but the background is the same as the other comments. I have the image for it but dunno what code to use.
Thanks!!
And one more thing, as you might noticed, the box in typing the comments was not aligned. Please help me correct it.
On a related subject, im having problems with my blog. (www.onlinechessgamer.com) Seems comments dont appear on the main page (ive tried it. posted a comment and pressed home afterwards, and it doesnt appear). Only way I know if a comment has arrived is when a recent comment notifies me.Comments are viewable below a post also if you choose a recent post subject. And comments are not displayed if you choose to go through labels. Can you help
this worked on my trial blog, except i didn't get the "post the comment" line.
i don't knw what am i doing wrong.
It works on my blog...but does it affect the emoticons on the comments? coz my emoticons stop working. Also pls give us tips about adding emoticons on the comment box. Thanks! ^_^
great stuff! I love your tips.
Just one more thing.
How can we make this whole thing be different for the author, eg like you have in your comments here? users white and author orange?
I Know someone else asked this before, but he found the solution himself, however I can't figure it out. :-(
I am pulling my hair out! I have customized my template using your tips, everythings gone great. 3 column and all that.
I'm trying to use a black background, and I can NOT customize the darn embeded comments. Not fonts, borders...nothing. They are there, they just aren't showing up on the dark background...and I don't want to scrap that yet.
Can you help me?
hye!when i want to put this code?
.blog-author-comment {
margin:0 0 .75em;
padding: 20px 10px 10px 10px;
background: #FF62B0;
}
.blog-nonauthor-comment {
margin:0 0 .75em;
padding: 20px 10px 10px 10px;
background: #FF7575;
}
Can I use this too with pop-up comments?
Do you like MBT shoes online MBT chapa buy it MBT chapa shoes with MBT lami free MBT lami shoes shipping MBT kaya over MBT kaya shoes us,we MBT M.Walk sell MBT m walk shoes on line mbt men shoes for mbt women shoes and vibram five fingers sale vibram five fingers sale is our discount vibram five fingers best cheap vibram five fingers choice cheap MBT chapa shoes thank cheap MBT lami to cheap MBT lami shoes see cheap MBT kaya it cheap MBT kaya shoes you can cheap MBT M.Walk go cheap MBT m walk shoes by cheap mbt men shoes click cheap mbt women shoes
cheap Louis Vuitton Handbags for sale and
cheap Louis Vuitton bags for sale and
cheap Louis Vuitton purses for sale and
cheap Louis Vuitton wallets for sale and
cheap Louis Vuitton Travel for sale and
cheap LV Handbags for sale and
cheap LV Bags for sale and
cheap LV purses for sale and
cheap LV wallets for sale and
cheap lv Travel for sale and
cheap replica Louis Vuitton bags for sale and
cheap replica Louis Vuitton Handbags for sale and
cheap replica Louis Vuitton purses for sale and
cheap replica Louis Vuitton wallets for sale and
cheap replica Louis Vuitton Travel for sale and
cheap replica lv handbags for sale and
cheap replica lv Bags for sale and
cheap replica LV purses for sale and
cheap replica lv wallet for sale and
cheap replica lv Travel for sale and
Say it...