XF 1.4 Resize "create new thread" window


Well-known member
When you create new thread, window where you make your first post is so small. Any chance to resize that window and maybe include in responsive design?



Well-known member
I don't think it's possible from within Xenforo, that change would need to be made directly to the editor (Redactor).

Though I saw a similar question awhile ago.

@cclaerhout any ideas? :)


XenForo moderator
Staff member
It's related to the .xenForm class, which has a max-width of 800px.

You can increase that but ensure it doesn't affect other elements and layouts.



Well-known member
@Sunka, @Optic

You need to use the event listener "editor_setup" to customize the editor height on the template "thread_create":

class YourClassDirectory_CustomAddon_ClassName
   public static function editorSetup(XenForo_View $view, $formCtrlName, &$message, array &$editorOptions, &$showWysiwyg)
     if (!$showWysiwyg || $view->getTemplateName() != 'thread_create')
       return false;

     $editorOptions['height'] = "500px";
To create a new event on this listener, go to your board admin panel:
=> Create..., etc.

If you only want to target the max-height, see this.


Well-known member
Also, it is too much small (wide).
I do not know how to use event listener, I was hoping that small change like edit template or change something in CSS will be enough.
Could someone show complete step by step solution to change wide and height.