XF 2.2 Set max width, increase font size for article threads

drastic

Well-known member
Hi,

I don't have a sidebar, so my article threads span the full width of the screen.

What can I place in the extra template file to make the max width of the article thread content be 600px?

Would also like to increase the font size, but wasn't sure which option in style properties would do that.

Goal is to make the reading experience a little better.

Thanks for the tips!
 

Brogan

XenForo moderator
Staff member
If you mean the thread view, add this to the extra.less template.

Less:
[data-template="thread_view_type_article"]
{
    .message--article
    {
        width: 600px;
    }
}

It may need more work though, or you may need to target a different class in that template, depending on the final look you want to achieve.
 
Top