Is it possible to remove the indentation in replies to the parent post so that all posts in a thread are vertically aligned?
Is it possible to remove the indentation in replies to the parent post so that all posts in a thread are vertically aligned?
Yes, this is exposed as configuration on the Thread widget. On a thread's page, go to (Pencil Icon) > Manage Group Theme > Edit this Page and inspect the configuration for the thread widget. It contains an option for thread depth.
I changed the defaultValue to 0 but they are still sightly indented.
Can you please share a screenshot? There shouldn't be any need to change any default values, and 0 isn't an accepted option in the drop-down. Are you perhaps editing the widget in Widget Studio? If so, you don't need to. You only need to configure it on the page. Here's this thread widget being configured:
And here is what this thread looks like with the depth setting configured to 1 (flat) in the widget.
Michael Monteleone I'm looking to modify this value across the entire site, but updating the default from 3 to 5. It looks like this can be edited through the Widget Studio > Comment List > common-config.vm:
#set ($depth = $core_v2_widget.GetIntValue('depth', 3))
Do you know if updating that would update the default properly and existing uses of the widget?
Thanks!
Two notes:
1. Comments and Forum Threads are two different widgets. If you want to update comments, you've got the correct widget. To update forum threads, it's the Forum - Thread widget.
2. To update the default, update both the retrieval of the value (which it looks like you found) and also the configuration-defined default in the Configuration definition in the widget. The default provided when retrieving the value is a safeguard in case the Configuration definition is removed, but, it is ignored if the Configuration definition exists.
Thanks Ben Tiedt! I made your suggested changes and thanks for pointing out the Configuration definitions too, missed those.