I have a prechat form that is developed as visualforce page. Everything is working fine but when prechat form is shown, it has limited size. Is it possible to change the size of the prechat form ? I came across way to change the size of actual chat window but don't see anything related to prechat form.


2 Answers 2


Have you tried using liveagent.setChatWindowHeight(500) and liveagent.setChatWindowWidth(500) before the init call of your deployment?

Something like this:

<script type='text/javascript' src='your source'></script>
<script type='text/javascript'>
  liveagent.init('chat url','deployment id', 'org id'));

hope this helps!


You can use custom css styling as well to resize the chat. Although its very old post so You might have resolved. Let me know if not I can show the CSS styles.

Not the answer you're looking for? Browse other questions tagged .