Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
543 views
in Q2A Core by
closed by
I'm just browsning my gmail (in wich every long mail title is trimed) and thinking that in my site looks little bit disorderly becouse of different qa-q-list-item size (height).

So i'm wondering is it easy to do that question title (qa-q-item-title) and question meta (qa-q-item-meta) would be trimmed after X letters ?

Thanks :)
closed with the note: Solved

1 Answer

+2 votes
by

Is this what you mean?

        function q_item_title($question)
        {
            $maxlen = 20;
            $this->output(
                '<DIV CLASS="qa-q-item-title">',
                '<A HREF="'.$question['url'].'">'.(strlen($question['title'])>$maxlen?qa_substr($question['title'],0,$maxlen).'...':$question['title']).'</A>',
                '</DIV>'
            );
        }

by
Thanks, but i solved it by using css for seo issues.
...