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

jwolf - March 6, 2007 - 16:24
Assigned to:Anonymous» jwolf
Status:active» active (needs more info)

Could you be a little more specific?

#2

jonnyz - March 7, 2007 - 22:36

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

jwolf - March 8, 2007 - 04:28

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.

AttachmentSize
golden_hour-comments.png41.21 KB

#4

jwolf - March 8, 2007 - 04:40
Status:active (needs more info)» active

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

#5

jwolf - April 10, 2007 - 01:56
Status:active» fixed

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

#6

jonnyz - April 10, 2007 - 21:22

Works great. Thanks!

#7

jwolf - April 17, 2007 - 14:24
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.