I am Not able to reposition my chat Web Widget on the mobile screen . | Community
Skip to main content

I am Not able to reposition my chat Web Widget on the mobile screen .

  • August 30, 2022
  • 6 replies
  • 0 views

kumar13

I am not able to reposition my  web widget , specifically on mobile phone, as it is hiding some content from my page . i have being using this code to re position my widget 

window.zESettings = {
webWidget: {
offset: {
horizontal: "100px",
vertical: "150px",
mobile: {
horizontal: "230px",
vertical: "100px",
},
},
},
}

6 replies

Tipene
  • August 31, 2022
Hi Kumar,
 
What behavior are you seeing from the web widget when you have added the code snippet? Is the web widget being moved on the page at all?
 
Thanks,
 
Tipene

kumar13
  • Author
  • September 1, 2022

the web widget did't move at all .


Tipene
  • September 1, 2022
Hi Kumar,
 
I've just tested this on my end and it is working as expected. Can you send me through the full code implementation so I can take a look in more detail?

kumar13
  • Author
  • September 1, 2022

is this the right approach?


Tipene
  • September 1, 2022

Hi Kumar,

Yes that implementation looks correct, assuming you're providing a valid key to the SDK url. I'll go ahead and pull this in to a ticket so we can take a look at your code more in-depth


kumar13
  • Author
  • September 1, 2022

Yeap i using the valid key, but not able to reposition the widget , I just need to do a reposition of 100px from bottom just that .