Boxes Around Forum Entries
jonnyz - March 6, 2007 - 13:44
| Project: | Golden Hour |
| Version: | 5.x-2.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | jwolf |
| Status: | closed |
Description
Hi,
I just installed forums and noticed that each entry floats on the page with no borders. Would it be possible to incorporate borders into the theme for this?
Thanks!

#1
Could you be a little more specific?
#2
No problem. For instance, the default theme on Drupal.org uses boxes/borders around each comment. You can look at any of the comments pages but here is one for quick reference : http://drupal.org/node/46143
It just makes it easier to delineate between comments and provide some visual structure to the flow.
What would be even more fantastic is if there was a way to connect parent and child comments with lines in order to draw the path. I have not seen that done but it could be useful.
Does that make better sense?
Thanks.
#3
If you'd like to add a border around the comments you'll need to edit the theme's style sheet:
In the style.css file (the 5.x-2.x-dev version), lines 259 - 264 will now be as follows:
.comment {margin:0 0 1.4em 0;
padding:0.5em;
border:1px solid #ccc;
background-color: #FBFBFB;
}
Also change line 231 (the links class) to:
margin:-1.2em 0 0 0;The above will add a border to all comments and a light background color.
Because I'm hooked on screenshots, I've attached one of the new comments style.
I'll add the comments' styling change to the next release.
#4
I'll leave this feature request as active until I apply the changes to the next release.
#5
This has been added to the 5.x.2.2 release version
#6
Works great. Thanks!
#7