How-to and Troubleshooting
3
Posts
2
Users
0
Reactions
1,050
Views
Apr 01, 2021 10:12 pm
I've searched the forums and haven't been able to find an answer as to how to shorten quotes. If I have a member quote a long post and they don't take the time or don't want to erase any of it, then it takes up a lot of page space. Is there a way to limit the amount of the quote that is shown in the reply automatically, maybe with an option to show the whole thing if needed?
2 Replies
Apr 02, 2021 2:50 pm
Hi @meibukan76,
Here is a quick workaround. You can set max-height of the quote and automatically show a scrollbar to scroll the content of the quote. Insert this CSS code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches, go to forum front-end and press Ctrl+F5:
#wpforo #wpforo-wrap .wpforo-post blockquote, #wpforo #wpforo-wrap .wpforo-revision-body blockquote {
max-height: 150px;
overflow-y: auto;
}