Making collapsed the default view on an Ideas Exchange
I would like make the collapsed view the default view on my Ideas Exchange. I looked at the differences in the properties for expanded/collapsed:
div#messageview.lia-message-view->firstElementChild
div.lia-message-view-style-collapsed
div.lia-message-view-style-collapsed
But I can't figure out where I might modify my custom CSS to make this work. Anyone already done this?
Hey dementad,
The collapsed/expanded view is currently controlled by a setting that is not exposed through the UI. The good news is this can easily be set without having to write/run any custom javascript or css.
You have two options on how to do this:
1) Open a ticket with support for them to set the default setting to collapsed
2) Make an API call as an admin to set the setting
.../settings/name/layout.message_view/set?value=collapsed
Note, for both options you will want to decide if you want this setting set on the community level or at specific board/category/node level.
In the restapi above you can replace ... with something like /boards/id/[board-id] to scope the call to a board.
I will also see if we can get this setting exposed through admin so that it will be simpler to manage.
Hope this helps,
Yuri