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!

CommentFileSizeAuthor
#3 golden_hour-comments.png41.21 KBjwolf

Comments

jwolf’s picture

Assigned: Unassigned » jwolf
Status: Active » Postponed (maintainer needs more info)

Could you be a little more specific?

jonnyz’s picture

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.

jwolf’s picture

StatusFileSize
new41.21 KB

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.

jwolf’s picture

Status: Postponed (maintainer needs more info) » Active

I'll leave this feature request as active until I apply the changes to the next release.

jwolf’s picture

Status: Active » Fixed

This has been added to the 5.x.2.2 release version

jonnyz’s picture

Works great. Thanks!

jwolf’s picture

Status: Fixed » Closed (fixed)