<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to move the livechat widget in another position? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626707#M52896</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/379754"&gt;@LBreda&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you saw, Hubspot only gives you the possibility to put the chat left or right, so out of the box there's no way to have it somewhere else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The best solution to your problem is still &lt;STRONG&gt;to adjust your design to work with the chat default layout&lt;/STRONG&gt; but if you really need to do it, this little "hacky" solution will do using&amp;nbsp;a little bit of javascript and CSS :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The embed of the chat window has styling included and all the css properties defining where the livechat will be placed have the "!important" modifier.&lt;BR /&gt;The only way to override it is to add a class to the div containing the iframe and then use a higher specificity css selector to style it your way.&lt;BR /&gt;&lt;BR /&gt;This would work to add a new class :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;document.getElementById('hubspot-messages-iframe-container').className += " yourNewClass";&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you could move the chat by overriding the default positionning with CSS :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;#hubspot-messages-iframe-container.widget-align-right.yourNewClass {
     right : newValue !important;
     bottom : newValue !important;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps !&lt;BR /&gt;If it does, please consider marking this answer as a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 May 2022 09:18:45 GMT</pubDate>
    <dc:creator>LMeert</dc:creator>
    <dc:date>2022-05-04T09:18:45Z</dc:date>
    <item>
      <title>How to move the livechat widget in another position?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626678#M52895</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are restyling our company site and we use the livechat widget.&lt;/P&gt;&lt;P&gt;In the restyled version we want to use another widget where potential customer can call, write an e-mail or use the live chat.&lt;/P&gt;&lt;P&gt;The problem is we can't find a way to put the livechat widget inside this new widget. The only options i could find for moving the chat are to display it on the right or on the left of the page.&lt;/P&gt;&lt;P&gt;Is it possible to move the widget where we like? How?&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 08:20:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626678#M52895</guid>
      <dc:creator>LBreda</dc:creator>
      <dc:date>2022-05-04T08:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to move the livechat widget in another position?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626707#M52896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/379754"&gt;@LBreda&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As you saw, Hubspot only gives you the possibility to put the chat left or right, so out of the box there's no way to have it somewhere else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The best solution to your problem is still &lt;STRONG&gt;to adjust your design to work with the chat default layout&lt;/STRONG&gt; but if you really need to do it, this little "hacky" solution will do using&amp;nbsp;a little bit of javascript and CSS :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The embed of the chat window has styling included and all the css properties defining where the livechat will be placed have the "!important" modifier.&lt;BR /&gt;The only way to override it is to add a class to the div containing the iframe and then use a higher specificity css selector to style it your way.&lt;BR /&gt;&lt;BR /&gt;This would work to add a new class :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;document.getElementById('hubspot-messages-iframe-container').className += " yourNewClass";&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you could move the chat by overriding the default positionning with CSS :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="css"&gt;#hubspot-messages-iframe-container.widget-align-right.yourNewClass {
     right : newValue !important;
     bottom : newValue !important;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps !&lt;BR /&gt;If it does, please consider marking this answer as a solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 09:18:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626707#M52896</guid>
      <dc:creator>LMeert</dc:creator>
      <dc:date>2022-05-04T09:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to move the livechat widget in another position?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626708#M52897</link>
      <description>&lt;P&gt;Ok perfect i'll try and tell you if it works, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 09:20:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626708#M52897</guid>
      <dc:creator>LBreda</dc:creator>
      <dc:date>2022-05-04T09:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to move the livechat widget in another position?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626919#M52909</link>
      <description>&lt;P&gt;No problem, I tried it this morning before answering you so that should be ok &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 14:21:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/626919#M52909</guid>
      <dc:creator>LMeert</dc:creator>
      <dc:date>2022-05-04T14:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to move the livechat widget in another position?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/679856#M55805</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/257487"&gt;@LMeert&lt;/a&gt;. I am also having this problem but unable to make this work. The widget aligns left and I am trying to move the widget button slightly to the right. This is what I have: (This is within the CRM system GoHighLevel)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Javascript Box:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;!-- Start of HubSpot Embed Code --&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/19959963.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;document.getElementById('hubspot-messages-iframe-container').className += "yourNewClass";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;!-- End of HubSpot Embed Code --&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CSS Box:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#hubspot-messages-iframe-container.widget-align-left.yourNewClass {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;left : 40px !important;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 16:16:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-move-the-livechat-widget-in-another-position/m-p/679856#M55805</guid>
      <dc:creator>AldenZuck</dc:creator>
      <dc:date>2022-08-12T16:16:51Z</dc:date>
    </item>
  </channel>
</rss>

