Download: $149   Or   On Demand: $9 /mo
Knowledge Base Knowledge Base   Live Chat Live Chat   Phone +1 (720) 336-8323 M-F 9am-5pm MST
Free Trial
Client Login
Knowledge Base
Knowledge Base » Tips and Tricks » Embed chat window width to span 100% of the webpage
Embed chat window width to span 100% of the webpage

Your PHP Live! system must be v. or greater to be able to process the 100% width method.  Previous version will produce a JavaScript error or the chat icon will most likely not load or the embed chat window format will be incorrect.


For those that may want to set the embed chat width to 100% of the webpage, here is what you will want to do:


  1. Inside the phplive/API/ directory, create a new file (if not exists) Util_Extra.php containing the following code:

  2. Save the file.  You now should have phplive/API/Util_Extra.php file containing the above code.  When the chat icon is clicked, the embed window should cover 100% of the webpage.



Related documentation: Resize the visitor chat request window size

Was this helpful?
could be more helpful? send comment