How do I make all comments the same width? With each comment the width is reduced at first, but after 10 comments the whole page is wider. It looks a bit naff.

Comments

zirvap’s picture

5.x: Go to Administer > Content managemet > Comments > Settings, change "Default display mode" from "Threaded list - expanded " to "Flat list - expanded".

(And even though you don't ask about it, I'll add 6.x: I don't remember the exact path, but in 6.x this can be set differently for each content type. You go to the administer content type pages and look for the comment settings there.)

--
I'm using my sig to mention my own, open support request: Node reference + node profile: How to list all nodes which refer to a user's node profile?. I'd be grateful for any pointers.

jonbey’s picture

Perfect, thank you. I also added the option to place the comments submission form at the bottom, and the oldest post first, so that they read in order. Lovely. Hope you get your open support request answered!

Actually, I say perfect, but it would be nice if all comments were slightly indented by the same amount. Is that a CSS hack?

zirvap’s picture

Yes, that's something you do with CSS. You can either look for a theme which does this for you (http://themegarden.org/drupal50/ has demos of most themes, http://themegarden.org/drupal50/?q=node/1 is a demo page with a comment), or you can modify an existing theme.

If you do that, it's a good idea not to modify the core themes (ie. the themes which come with basic installation). Modifying core themes means you need to keep track of the changes you have made next time you update, and that makes updating harder. Instead, if you want to use a core theme, make a copy of the theme, give it another name, and put it in the same place you'd put contributed themes (see Best practices: File and directory management). Then look at the CSS files (http://www.getfirebug.com/ is a great help) and start modifying.

Hope you get your open support request answered!

Thanks! I've begun suspecting that this is the kick behind that will force me to take the time to learn more PHP -- at the very least, I probably need to learn enough PHP to ask a more concrete, limited question.

happythoughts’s picture

Where can I find flat lists in D6?

happythoughts’s picture

I found it - thanks.

In D6 you go to Admin/Content_Types/Forums - the change the setting in Comment Settings.