function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
David KuskeDavid Kuske 

Live chat on mobile - size issues

Hello all,

We seem to have difficulty with the output of our styled Live Chat pages.

While the pop up window on desktop looks fine, the display on mobile still appears to resemble a full width desktop. Please see the screenshots below:


We currently have the height of the window set to 700px. Could that be a reason for this outcome?

Many thanks.

Gaurav KheterpalGaurav Kheterpal

Did you add this in your VF page code?
<meta name="viewport" content="initial-scale=1,  user-scalable=no">

If that does not work, you can always set the width to an absolute value for mobile and use media queries to pick up the slack depending on the screen height/ width.

If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal

Developer Forums Moderator| Certified Developer| Dreamforce Speaker| Salesforce Mobile Evangelist