I have created a block with a list of comments for a particular node. My row style is Comment and Sorting is Comment: Thread asc. Could you pleas tell me how do I get a properly indented output like the core implementation?
I have created a block with a list of comments for a particular node. My row style is Comment and Sorting is Comment: Thread asc. Could you pleas tell me how do I get a properly indented output like the core implementation?
Comments
Comment #1
dawehnerI think there is currently no easy way to do it. So you have to write a style plugin.
Perhaps, but really just perhaps, advanced forum or node comments does this provide already.708882
Comment #2
scalp commentedYou should be able to do this with CSS. Find the view class then you'll need to find what the comments are wrapped in. Both of these can be found by looking at the source code. You'll be able to get what you want by adding something like this to your style.css file in your theme:
.view-sampleview #comments {margin:0 0 0 20px}
Comment #3
dawehnerI don't know much of css :)
I guess this is fixed now.