Hi there, I need to figure out how to style comments in drupal. I used Artisteer to create the overall look, which is great, but it has no options for comments. For example, the comments in drup appear as one big block to css, filled with headings and simple links:
http://farm5.static.flickr.com/4147/5143459014_931a26cac1.jpg
So how to make this stock display of comments look better then this:
http://farm5.static.flickr.com/4010/5143459726_8faee23115.jpg
Things that I would like to do is:
style the body of the comment
style the comment links into buttons: reply, delete, edit, etc.
style the header of the comment
Perhaps there is module for that? :)
thx

Comments

elkin_taharon’s picture

Hi herojig ,

Use the comment.tpl.php file to define all the html tags, the rest is just pure css :)

ziobudda’s picture

There are 2 template files for comment (3 really, but "folded" is not necessary in this case):
comment-wrapper.tpl.php (the container) and comment.tpl.php (the content). You can see the source in modules/comment directory.

M.

Freelancer Senior Drupal Developer -- http://www.ziobuddalabs.it

herojig’s picture

thx u 2 for that, I see the files but unfortunately don't know what to do next. In my styles.css, I have this to work with, and that's it:
---------
/* BEGIN Flatcomments module support */
.comment-folded
{
margin: 7px;
}
#comments .box span.art-button-wrapper
{
margin: 0;
}
#comments .art-postcontent, #comments .art-postcontent p
{
text-align: left;
background-color: #f2f0dc;
padding: 2px;
}
/* END Flatcomments module support */
---------

Do I need to add "new" css styles to get anything that I want? If so, can u provide a quick example of what that might look like? I would be happy with what I see here in this forum for comments. thx!!!

Phoenix.Consultants.Nepal (www.phoenixstudiosnepal.com)

ziobudda’s picture

herojig’s picture

I hate to read this drupal stuff, but found Advanced Forums which solved all my issues :) It's really easy to use and I did not even have to read the readme to style all my comments site wide. Cheers!
jigs

Phoenix.Consultants.Nepal (www.phoenixstudiosnepal.com)